Skip to contentSkip to conversation

fix IBM Summit based systems' phys_cpu_present_map on 32-bit kernels

PATCH Applied Chris McDermott 2 participants 2 messages Jul 25, 2008 – Jul 26, 2008 Linux-next tree

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix IBM Summit based systems' phys_cpu_present_map on 32-bit kernels

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.

thanks,

Chris McDermott <[email protected]>

include/asm-x86/mach-summit/mach_apic.h +1 -1
@@ -122,7 +122,7 @@ static inline physid_mask_t ioapic_phys_
 
 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)
Applied
#1 lore raw
Quoted 3 lines · Chris McDermott

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.

applied to tip/x86/urgent - thanks Chris!

Ingo