public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86: allow 8 more cpus could be used
@ 2009-01-29 22:18 Yinghai Lu
  2009-01-29 22:19 ` [PATCH] x86: don't treat bigsmp as no standard Yinghai Lu
  2009-01-29 22:42 ` [PATCH] x86: allow 8 more cpus could be used Ingo Molnar
  0 siblings, 2 replies; 15+ messages in thread
From: Yinghai Lu @ 2009-01-29 22:18 UTC (permalink / raw)
  To: Ingo Molnar, Thomas Gleixner, H. Peter Anvin, Andrew Morton
  Cc: linux-kernel@vger.kernel.org

Impact: fix left out MARCO

X86_PC will be always enabled. so need to check if we have bigsmp support built
in before cut off more than 8 cpus.

otherwise only get 8 cpus.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>

---
 arch/x86/kernel/smpboot.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6/arch/x86/kernel/smpboot.c
===================================================================
--- linux-2.6.orig/arch/x86/kernel/smpboot.c
+++ linux-2.6/arch/x86/kernel/smpboot.c
@@ -1000,7 +1000,7 @@ static int __init smp_sanity_check(unsig
 {
 	preempt_disable();
 
-#if defined(CONFIG_X86_PC) && defined(CONFIG_X86_32)
+#if defined(CONFIG_X86_PC) && !defined(CONFIG_X86_BIGSMP)
 	if (def_to_bigsmp && nr_cpu_ids > 8) {
 		unsigned int cpu;
 		unsigned nr;

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

end of thread, other threads:[~2009-01-30 14:25 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-29 22:18 [PATCH] x86: allow 8 more cpus could be used Yinghai Lu
2009-01-29 22:19 ` [PATCH] x86: don't treat bigsmp as no standard Yinghai Lu
2009-01-30 14:25   ` Ingo Molnar
2009-01-29 22:42 ` [PATCH] x86: allow 8 more cpus could be used Ingo Molnar
2009-01-29 22:44   ` Yinghai Lu
2009-01-29 23:08     ` Ingo Molnar
2009-01-29 23:14       ` Yinghai Lu
2009-01-29 23:20         ` Ingo Molnar
2009-01-29 22:44   ` Randy Dunlap
2009-01-29 23:12     ` Ingo Molnar
2009-01-29 23:14       ` Randy Dunlap
2009-01-29 23:22         ` Ingo Molnar
2009-01-29 23:23           ` Yinghai Lu
2009-01-29 23:25           ` Randy Dunlap
2009-01-30  0:09             ` Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox