OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53c4c79
)
x86: mpparse, move disabled cpus to smpboot.c, fix
author
Ingo Molnar
<mingo@elte.hu>
Fri, 28 Mar 2008 10:57:55 +0000
(11:57 +0100)
committer
Ingo Molnar
<mingo@elte.hu>
Thu, 17 Apr 2008 15:41:31 +0000
(17:41 +0200)
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/mpparse_32.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/mpparse_32.c
b/arch/x86/kernel/mpparse_32.c
index
bf29dcc
..
0f877a5
100644
(file)
--- 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;
}