projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.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
|
blame
|
history
diff --git
a/arch/x86/kernel/mpparse_32.c
b/arch/x86/kernel/mpparse_32.c
index bf29dcc37de718dd6997dfdc765b2155392ccaa7..0f877a572cf062df4de8ffab76ea7a7dbed4a888 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;
}