]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
x86: Remove enabling x2apic message for every CPU
authorMike Travis <travis@sgi.com>
Fri, 11 Dec 2009 16:08:50 +0000 (08:08 -0800)
committerH. 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

index efb2b9cd132c79f4c8a60f8973ae2995d3c3ccb8..aa57c079c98f6c345e91313e37f3f52e8d3f26bb 100644 (file)
@@ -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);
        }
 }