projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2df2972
)
x86: don't call MP_processor_info for disabled cpu
author
Alexey Starikovskiy
<astarikovskiy@suse.de>
Thu, 27 Mar 2008 20:54:06 +0000
(23:54 +0300)
committer
Ingo Molnar
<mingo@elte.hu>
Thu, 17 Apr 2008 15:41:31 +0000
(17:41 +0200)
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
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 4cc325edc70de357e26a66c41fed15824a2fe1a8..c487bc99d7a368d3b4cf35f1c960f9aa1ca26cb8 100644
(file)
--- a/
arch/x86/kernel/mpparse_32.c
+++ b/
arch/x86/kernel/mpparse_32.c
@@
-895,6
+895,10
@@
void __cpuinit mp_register_lapic (u8 id, u8 enabled)
id, MAX_APICS);
return;
}
+ if (!enabled) {
+ ++disabled_cpus;
+ return;
+ }
if (id == boot_cpu_physical_apicid)
boot_cpu = 1;