lkml.org 
[lkml]   [2009]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@sgi.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@openvz.org>

thanks!

-- Cyrill


\
 
 \ /
  Last update: 2009-12-11 23:29    [W:0.039 / U:0.768 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site