public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] voyager: fix cpu bootmaps
@ 2009-01-30 18:31 James Bottomley
  2009-01-31 12:57 ` Rusty Russell
  0 siblings, 1 reply; 4+ messages in thread
From: James Bottomley @ 2009-01-30 18:31 UTC (permalink / raw)
  To: Rusty Russell; +Cc: linux-kernel

commit 98a79d6a50181ca1ecf7400eda01d5dc1bc0dbf0
Author: Rusty Russell <rusty@rustcorp.com.au>
Date:   Sat Dec 13 21:19:41 2008 +1030

    cpumask: centralize cpu_online_map and cpu_possible_map

Broke voyager largely because it currently initialises the
possible_map by copying, which isn't possible in the new scheme.  Fix
this by using init_cpu_possible() instead and tidy up other of the
cpumask declarations which now have global variables.

Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
---
 arch/x86/mach-voyager/voyager_smp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/x86/mach-voyager/voyager_smp.c b/arch/x86/mach-voyager/voyager_smp.c
index 9840b7e..dcc07d5 100644
--- a/arch/x86/mach-voyager/voyager_smp.c
+++ b/arch/x86/mach-voyager/voyager_smp.c
@@ -378,7 +378,7 @@ void __init find_smp_config(void)
 	cpus_addr(phys_cpu_present_map)[0] |=
 	    voyager_extended_cmos_read(VOYAGER_PROCESSOR_PRESENT_MASK +
 				       3) << 24;
-	cpu_possible_map = phys_cpu_present_map;
+	init_cpu_possible(&phys_cpu_present_map);
 	printk("VOYAGER SMP: phys_cpu_present_map = 0x%lx\n",
 	       cpus_addr(phys_cpu_present_map)[0]);
 	/* Here we set up the VIC to enable SMP */
-- 
1.5.6.6




^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-02-03 14:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-30 18:31 [PATCH] voyager: fix cpu bootmaps James Bottomley
2009-01-31 12:57 ` Rusty Russell
2009-01-31 15:04   ` James Bottomley
2009-02-03 14:45     ` Rusty Russell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox