Commit 450b1e8d authored by Mike Travis's avatar Mike Travis Committed by H. Peter Anvin

x86: Remove enabling x2apic message for every CPU

Print only once that the system is supporting x2apic mode.
Signed-off-by: default avatarMike Travis <travis@sgi.com>
Acked-by: default avatarCyrill Gorcunov <gorcunov@openvz.org>
LKML-Reference: <4B226E92.5080904@sgi.com>
Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
parent d75757ab
......@@ -1341,7 +1341,7 @@ void enable_x2apic(void)
rdmsr(MSR_IA32_APICBASE, msr, msr2);
if (!(msr & X2APIC_ENABLE)) {
pr_info("Enabling x2apic\n");
printk_once(KERN_INFO "Enabling x2apic\n");
wrmsr(MSR_IA32_APICBASE, msr | X2APIC_ENABLE, 0);
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment