commit | 059c9640b57cb8e70c60de141ec817b450431816 | [log] [tgz] |
---|---|---|
author | Ingo Molnar <mingo@elte.hu> | Fri Mar 28 11:57:55 2008 +0100 |
committer | Ingo Molnar <mingo@elte.hu> | Thu Apr 17 17:41:31 2008 +0200 |
tree | 029694b4df21d4e4082e62502796932d91fd57b6 | |
parent | 53c4c793b30bbf6e1a25cab61790b18f205dd365 [diff] |
x86: mpparse, move disabled cpus to smpboot.c, fix Signed-off-by: Ingo Molnar <mingo@elte.hu>
diff --git a/arch/x86/kernel/mpparse_32.c b/arch/x86/kernel/mpparse_32.c index bf29dcc..0f877a5 100644 --- a/arch/x86/kernel/mpparse_32.c +++ b/arch/x86/kernel/mpparse_32.c
@@ -196,7 +196,9 @@ int apicid; if (!(m->mpc_cpuflag & CPU_ENABLED)) { +#ifdef CONFIG_X86_SMP disabled_cpus++; +#endif return; } @@ -901,7 +903,9 @@ } if (!enabled) { +#ifdef CONFIG_X86_SMP ++disabled_cpus; +#endif return; }