Skip to content

Commit

Permalink
x86: fix IBM Summit based systems' phys_cpu_present_map on 32-bit ker…
Browse files Browse the repository at this point in the history
…nels

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>
  • Loading branch information
Chris McDermott authored and Ingo Molnar committed Jul 26, 2008
1 parent 071375b commit 1ca9fda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/asm-x86/mach-summit/mach_apic.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1ca9fda

Please sign in to comment.