From: Chris McDermott <lcm@linux•vnet.ibm.com>
To: linux-next@vger•kernel.org, linux-kernel@vger•kernel.org
Subject: [PATCH] fix IBM Summit based systems' phys_cpu_present_map on 32-bit kernels
Date: Thu, 24 Jul 2008 19:06:09 -0700 [thread overview]
Message-ID: <20080725020609.GB11800@us.ibm.com> (raw)
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)
next reply other threads:[~2008-07-25 2:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-25 2:06 Chris McDermott [this message]
2008-07-26 13:00 ` [PATCH] fix IBM Summit based systems' phys_cpu_present_map on 32-bit kernels Ingo Molnar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080725020609.GB11800@us.ibm.com \
--to=lcm@linux$(echo .)vnet.ibm.com \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux-next@vger$(echo .)kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox