Skip to content
Snippets Groups Projects
Commit 1ca9fda4 authored by Chris McDermott's avatar Chris McDermott Committed by Ingo Molnar
Browse files

x86: 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.

Signed-off-by: default avatarChris McDermott <lcm@linux.vnet.ibm.com>
Tested-by: default avatarTim Pepper <lnxninga@linux.vnet.ibm.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 071375bc
No related branches found
No related tags found
No related merge requests found
...@@ -122,7 +122,7 @@ static inline physid_mask_t ioapic_phys_id_map(physid_mask_t phys_id_map) ...@@ -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) 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) static inline void setup_portio_remap(void)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment