Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
	}
}