x86/xen/apic: Use standard apic driver mechanism for Xen PV
[linux-2.6-microblaze.git] / arch / x86 / xen / enlighten_pv.c
index 93b6582..c393c44 100644 (file)
@@ -1326,7 +1326,7 @@ asmlinkage __visible void __init xen_start_kernel(struct start_info *si)
 
        x86_init.resources.memory_setup = xen_memory_setup;
        x86_init.irqs.intr_mode_select  = x86_init_noop;
-       x86_init.irqs.intr_mode_init    = x86_init_noop;
+       x86_init.irqs.intr_mode_init    = x86_64_probe_apic;
        x86_init.oem.arch_setup = xen_arch_setup;
        x86_init.oem.banner = xen_banner;
        x86_init.hyper.init_platform = xen_pv_init_platform;
@@ -1366,12 +1366,10 @@ asmlinkage __visible void __init xen_start_kernel(struct start_info *si)
 
        xen_init_capabilities();
 
-#ifdef CONFIG_X86_LOCAL_APIC
        /*
         * set up the basic apic ops.
         */
        xen_init_apic();
-#endif
 
        machine_ops = xen_machine_ops;