linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] fix IBM Summit based systems' phys_cpu_present_map on 32-bit kernels
@ 2008-07-25  2:06 Chris McDermott
  2008-07-26 13:00 ` Ingo Molnar
  0 siblings, 1 reply; 2+ messages in thread
From: Chris McDermott @ 2008-07-25  2:06 UTC (permalink / raw)
  To: linux-next, linux-kernel


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 <lcm@linux.vnet.ibm.com>


Signed-off-by: Chris McDermott <lcm@linux.vnet.ibm.com>
Tested-by: Tim Pepper <lnxninga@linux.vnet.ibm.com>


--- a/include/asm-x86/mach-summit/mach_apic.h	2008-07-24 18:06:39.000000000 -0700
+++ b/include/asm-x86/mach-summit/mach_apic.h	2008-07-24 18:09:29.000000000 -0700
@@ -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)

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

* Re: [PATCH] fix IBM Summit based systems' phys_cpu_present_map on 32-bit kernels
  2008-07-25  2:06 [PATCH] fix IBM Summit based systems' phys_cpu_present_map on 32-bit kernels Chris McDermott
@ 2008-07-26 13:00 ` Ingo Molnar
  0 siblings, 0 replies; 2+ messages in thread
From: Ingo Molnar @ 2008-07-26 13:00 UTC (permalink / raw)
  To: linux-next, linux-kernel


* Chris McDermott <lcm@linux.vnet.ibm.com> wrote:

> 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

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

end of thread, other threads:[~2008-07-26 13:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-25  2:06 [PATCH] fix IBM Summit based systems' phys_cpu_present_map on 32-bit kernels Chris McDermott
2008-07-26 13:00 ` Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).