From 5ead8cb7ed402e6d66da3b1d963b7be3915536b3 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Wed, 20 Aug 2008 09:04:33 +0100 Subject: [PATCH] x86: APs enable x2APIC only when BSP did so. Signed-off-by: Jun Nakajima --- xen/arch/x86/smpboot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/x86/smpboot.c b/xen/arch/x86/smpboot.c index 536ec12d5a..e97a7a436a 100644 --- a/xen/arch/x86/smpboot.c +++ b/xen/arch/x86/smpboot.c @@ -325,7 +325,7 @@ void __devinit smp_callin(void) */ wait_for_init_deassert(&init_deasserted); - if ( x2apic_is_available() ) + if ( x2apic_enabled ) enable_x2apic(); /* -- 2.30.2