]> err.no Git - linux-2.6/commitdiff
x86: fix IBM Summit based systems' phys_cpu_present_map on 32-bit kernels
authorChris McDermott <lcm@linux.vnet.ibm.com>
Fri, 25 Jul 2008 02:06:09 +0000 (19:06 -0700)
committerIngo Molnar <mingo@elte.hu>
Sat, 26 Jul 2008 12:58:39 +0000 (14:58 +0200)
x86 kernels on IBM Summit based systems will only online 1 CPU because the
phys_cpu_present_map is not set up correctly. Patch below applied to
2.6.26-git10.

Signed-off-by: Chris McDermott <lcm@linux.vnet.ibm.com>
Tested-by: Tim Pepper <lnxninga@linux.vnet.ibm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/asm-x86/mach-summit/mach_apic.h

index 75d2c95005d74b8eab2c2fce764dfc925f5aa876..c47e2ab5c5ca06515c87b7a320e42fccff3e8ed2 100644 (file)
@@ -122,7 +122,7 @@ static inline physid_mask_t ioapic_phys_id_map(physid_mask_t phys_id_map)
 
 static inline physid_mask_t apicid_to_cpu_present(int apicid)
 {
-       return physid_mask_of_physid(0);
+       return physid_mask_of_physid(apicid);
 }
 
 static inline void setup_portio_remap(void)