projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5171c30
)
x86: use setup_clear_cpu_cap with disable_apic, fix
author
Yinghai Lu
<yhlu.kernel@gmail.com>
Mon, 21 Jul 2008 18:21:43 +0000
(11:21 -0700)
committer
Ingo Molnar
<mingo@elte.hu>
Tue, 22 Jul 2008 07:05:45 +0000
(09:05 +0200)
beauty fix: /proc/cpuinfo will still show apic feature even if
we booted up with it disabled.
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/setup.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/setup.c
b/arch/x86/kernel/setup.c
index
ec952aa
..
b4aacb9
100644
(file)
--- a/
arch/x86/kernel/setup.c
+++ b/
arch/x86/kernel/setup.c
@@
-680,7
+680,7
@@
void __init setup_arch(char **cmdline_p)
#ifdef CONFIG_X86_LOCAL_APIC
disable_apic = 1;
#endif
-
clear_cpu_cap(&boot_cpu_data,
X86_FEATURE_APIC);
+
setup_clear_cpu_cap(
X86_FEATURE_APIC);
}
#ifdef CONFIG_PCI