aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-03-28 11:57:55 +0100
committerIngo Molnar <mingo@elte.hu>2008-04-17 17:41:31 +0200
commit059c9640b57cb8e70c60de141ec817b450431816 (patch)
tree029694b4df21d4e4082e62502796932d91fd57b6 /arch
parent53c4c793b30bbf6e1a25cab61790b18f205dd365 (diff)
x86: mpparse, move disabled cpus to smpboot.c, fix
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kernel/mpparse_32.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/kernel/mpparse_32.c b/arch/x86/kernel/mpparse_32.c
index bf29dcc37de..0f877a572cf 100644
--- a/arch/x86/kernel/mpparse_32.c
+++ b/arch/x86/kernel/mpparse_32.c
@@ -196,7 +196,9 @@ static void __cpuinit MP_processor_info(struct mpc_config_processor *m)
int apicid;
if (!(m->mpc_cpuflag & CPU_ENABLED)) {
+#ifdef CONFIG_X86_SMP
disabled_cpus++;
+#endif
return;
}
@@ -901,7 +903,9 @@ void __cpuinit mp_register_lapic (u8 id, u8 enabled)
}
if (!enabled) {
+#ifdef CONFIG_X86_SMP
++disabled_cpus;
+#endif
return;
}