aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/setup.c
diff options
context:
space:
mode:
authorKeir Fraser <keir@xen.org>2010-12-09 19:19:34 +0000
committerKeir Fraser <keir@xen.org>2010-12-09 19:19:34 +0000
commit56343b7be11ab9e3aae9a6cbfc0af7a388b3694f (patch)
tree5ba14527f8860da357cd026344c3845f19822d00 /xen/arch/x86/setup.c
parenta50b1b8ddb09d109eb7b990950298bd794ae1003 (diff)
downloadxen-56343b7be11ab9e3aae9a6cbfc0af7a388b3694f.tar.gz
xen-56343b7be11ab9e3aae9a6cbfc0af7a388b3694f.tar.bz2
xen-56343b7be11ab9e3aae9a6cbfc0af7a388b3694f.zip
x86: x2apic: Large cleanup
Signed-off-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/arch/x86/setup.c')
-rw-r--r--xen/arch/x86/setup.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/xen/arch/x86/setup.c b/xen/arch/x86/setup.c
index 42e063aa79..053b9c27ed 100644
--- a/xen/arch/x86/setup.c
+++ b/xen/arch/x86/setup.c
@@ -1158,9 +1158,6 @@ void __init __start_xen(unsigned long mbi_p)
tboot_probe();
- /* Check if x2APIC is already enabled in BIOS */
- check_x2apic_preenabled();
-
/* Unmap the first page of CPU0's stack. */
memguard_guard_stack(cpu0_stack);
@@ -1193,8 +1190,7 @@ void __init __start_xen(unsigned long mbi_p)
init_cpu_to_node();
- if ( x2apic_is_available() )
- enable_x2apic();
+ x2apic_setup();
init_IRQ();