* [patch 1/2] Dont set NR_CPUS for cpu_possible_map when CPU hotplug is enabled.
@ 2006-02-14 23:01 Ashok Raj
0 siblings, 0 replies; only message in thread
From: Ashok Raj @ 2006-02-14 23:01 UTC (permalink / raw)
To: linux-ia64
Do not set cpu_possible_map for NR_CPUS when ACPI_CONFIG_HOTPLUG_CPU is set.
Signed-off-by: Ashok Raj <ashok.raj@intel.com>
---------------------------------------------------------------------
arch/ia64/kernel/smpboot.c | 5 +----
1 files changed, 1 insertion(+), 4 deletions(-)
Index: linux-2.6.16-rc3-mm1/arch/ia64/kernel/smpboot.c
=================================--- linux-2.6.16-rc3-mm1.orig/arch/ia64/kernel/smpboot.c
+++ linux-2.6.16-rc3-mm1/arch/ia64/kernel/smpboot.c
@@ -135,7 +135,7 @@ DEFINE_PER_CPU(int, cpu_state);
/* Bitmasks of currently online, and possible CPUs */
cpumask_t cpu_online_map;
EXPORT_SYMBOL(cpu_online_map);
-cpumask_t cpu_possible_map;
+cpumask_t cpu_possible_map = CPU_MASK_NONE;
EXPORT_SYMBOL(cpu_possible_map);
cpumask_t cpu_core_map[NR_CPUS] __cacheline_aligned;
@@ -558,9 +558,6 @@ smp_build_cpu_map (void)
for (cpu = 0; cpu < NR_CPUS; cpu++) {
ia64_cpu_to_sapicid[cpu] = -1;
-#ifdef CONFIG_HOTPLUG_CPU
- cpu_set(cpu, cpu_possible_map);
-#endif
}
ia64_cpu_to_sapicid[0] = boot_cpu_id;
--
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-02-14 23:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-14 23:01 [patch 1/2] Dont set NR_CPUS for cpu_possible_map when CPU hotplug is enabled Ashok Raj
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox