Re: [PATCH] x86: Remove 4095 enabling x2apic messages

From: Cyrill Gorcunov
Date: Fri Dec 11 2009 - 17:28:00 EST


On Fri, Dec 11, 2009 at 08:08:50AM -0800, Mike Travis wrote:
> x86: Remove 4095 enabling x2apic messages
>
> Print only once that the system is supporting x2apic mode.
>
> Signed-off-by: Mike Travis <travis@xxxxxxx>
> ---
> arch/x86/kernel/apic/apic.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- linux.orig/arch/x86/kernel/apic/apic.c
> +++ linux/arch/x86/kernel/apic/apic.c
> @@ -1358,7 +1358,7 @@
>
> 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);
> }
> }
>

FWIW, looks good to me,
Acked-by: Cyrill Gorcunov <gorcunov@xxxxxxxxxx>

thanks!

-- Cyrill
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/