* [PATCH 2.6.30-git] x86: visws: fix UP build
@ 2009-03-26 22:49 Alexander Beregalov
0 siblings, 0 replies; only message in thread
From: Alexander Beregalov @ 2009-03-26 22:49 UTC (permalink / raw)
To: Ingo Molnar, linux-kernel, x86
arch/x86/kernel/visws_quirks.c: In function 'visws_find_smp_config':
arch/x86/kernel/visws_quirks.c:229: error: 'setup_max_cpus' undeclared
Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
---
arch/x86/kernel/visws_quirks.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/arch/x86/kernel/visws_quirks.c b/arch/x86/kernel/visws_quirks.c
index d801d06..f8f41c6 100644
--- a/arch/x86/kernel/visws_quirks.c
+++ b/arch/x86/kernel/visws_quirks.c
@@ -226,8 +226,10 @@ static int __init visws_find_smp_config(unsigned int reserve)
ncpus = CO_CPU_MAX;
}
+#ifdef CONFIG_SMP
if (ncpus > setup_max_cpus)
ncpus = setup_max_cpus;
+#endif
#ifdef CONFIG_X86_LOCAL_APIC
smp_found_config = 1;
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2009-03-26 22:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-26 22:49 [PATCH 2.6.30-git] x86: visws: fix UP build Alexander Beregalov
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.