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:
86c9835
)
x86: don't call MP_processor_info for disabled cpu (64bit)
author
Alexey Starikovskiy
<astarikovskiy@suse.de>
Thu, 27 Mar 2008 20:55:28 +0000
(23:55 +0300)
committer
Ingo Molnar
<mingo@elte.hu>
Thu, 17 Apr 2008 15:41:32 +0000
(17:41 +0200)
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/mpparse_64.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/mpparse_64.c
b/arch/x86/kernel/mpparse_64.c
index
83a36ee
..
3681b9d
100644
(file)
--- a/
arch/x86/kernel/mpparse_64.c
+++ b/
arch/x86/kernel/mpparse_64.c
@@
-678,6
+678,10
@@
void __cpuinit mp_register_lapic(u8 id, u8 enabled)
struct mpc_config_processor processor;
int boot_cpu = 0;
+ if (!enabled) {
+ ++disabled_cpus;
+ return;
+ }
if (id == boot_cpu_physical_apicid)
boot_cpu = 1;