WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] x86: Remove cpu_possible_map

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] x86: Remove cpu_possible_map
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 19 May 2010 05:16:11 -0700
Delivery-date: Wed, 19 May 2010 05:21:50 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1274192306 -3600
# Node ID c6db509d7e46be8b5a127ab9c99e76f644b2b21c
# Parent  8d7eba5be1d83f80ee2f4633d5ad7d00c4ef55a7
x86: Remove cpu_possible_map

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 xen/arch/x86/mpparse.c |    5 +----
 xen/arch/x86/smpboot.c |    2 --
 2 files changed, 1 insertion(+), 6 deletions(-)

diff -r 8d7eba5be1d8 -r c6db509d7e46 xen/arch/x86/mpparse.c
--- a/xen/arch/x86/mpparse.c    Tue May 18 15:13:45 2010 +0100
+++ b/xen/arch/x86/mpparse.c    Tue May 18 15:18:26 2010 +0100
@@ -203,10 +203,7 @@ static int __devinit MP_processor_info (
                cpu_set(cpu, cpu_present_map);
        }
 
-       cpu_set(num_processors, cpu_possible_map);
-       num_processors++;
-
-       if (num_processors > 8) {
+       if (++num_processors > 8) {
                /*
                 * No need for processor or APIC checks: physical delivery
                 * (bigsmp) mode should always work.
diff -r 8d7eba5be1d8 -r c6db509d7e46 xen/arch/x86/smpboot.c
--- a/xen/arch/x86/smpboot.c    Tue May 18 15:13:45 2010 +0100
+++ b/xen/arch/x86/smpboot.c    Tue May 18 15:18:26 2010 +0100
@@ -67,7 +67,6 @@ EXPORT_SYMBOL(cpu_online_map);
 
 cpumask_t cpu_callin_map;
 cpumask_t cpu_callout_map;
-cpumask_t cpu_possible_map = CPU_MASK_ALL;
 static cpumask_t smp_commenced_mask;
 
 struct cpuinfo_x86 cpu_data[NR_CPUS];
@@ -837,7 +836,6 @@ void __init smp_prepare_boot_cpu(void)
     cpu_set(smp_processor_id(), cpu_online_map);
     cpu_set(smp_processor_id(), cpu_callout_map);
     cpu_set(smp_processor_id(), cpu_present_map);
-    cpu_set(smp_processor_id(), cpu_possible_map);
     per_cpu(cpu_state, smp_processor_id()) = CPU_ONLINE;
 }
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] x86: Remove cpu_possible_map, Xen patchbot-unstable <=