OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d75757a
)
x86: Remove enabling x2apic message for every CPU
author
Mike Travis
<travis@sgi.com>
Fri, 11 Dec 2009 16:08:50 +0000
(08:08 -0800)
committer
H. Peter Anvin
<hpa@zytor.com>
Fri, 11 Dec 2009 22:32:31 +0000
(14:32 -0800)
Print only once that the system is supporting x2apic mode.
Signed-off-by: Mike Travis <travis@sgi.com>
Acked-by: Cyrill Gorcunov <gorcunov@openvz.org>
LKML-Reference: <
4B226E92
.
5080904
@sgi.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/kernel/apic/apic.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/apic/apic.c
b/arch/x86/kernel/apic/apic.c
index
efb2b9c
..
aa57c07
100644
(file)
--- a/
arch/x86/kernel/apic/apic.c
+++ b/
arch/x86/kernel/apic/apic.c
@@
-1341,7
+1341,7
@@
void enable_x2apic(void)
rdmsr(MSR_IA32_APICBASE, msr, msr2);
if (!(msr & X2APIC_ENABLE)) {
- pr
_info(
"Enabling x2apic\n");
+ pr
intk_once(KERN_INFO
"Enabling x2apic\n");
wrmsr(MSR_IA32_APICBASE, msr | X2APIC_ENABLE, 0);
}
}