[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20091211222704.GD5777@lenovo>
Date: Sat, 12 Dec 2009 01:27:04 +0300
From: Cyrill Gorcunov <gorcunov@...nvz.org>
To: Mike Travis <travis@....com>
Cc: Ingo Molnar <mingo@...e.hu>, Thomas Gleixner <tglx@...utronix.de>,
"H. Peter Anvin" <hpa@...or.com>,
Suresh Siddha <suresh.b.siddha@...el.com>, x86@...nel.org,
LKML <linux-kernel@...r.kernel.org>,
Jack Steiner <steiner@....com>
Subject: Re: [PATCH] x86: Remove 4095 enabling x2apic messages
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@....com>
> ---
> 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@...nvz.org>
thanks!
-- Cyrill
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists