X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=arch%2Fi386%2Fkernel%2Fio_apic-xen.c;h=f25eb9be63c2dac755fe6bb63aff52df589666fb;hb=e0ff8aa1acd079b70e796571917ae0449b7c465b;hp=dc20fcc12f3d01e8b14aaecf951fd8cbdcaa89d3;hpb=bef9ea3086d47cf98cfd0ea389953a0af0b60114;p=linux-2.6.git diff --git a/arch/i386/kernel/io_apic-xen.c b/arch/i386/kernel/io_apic-xen.c index dc20fcc12..f25eb9be6 100644 --- a/arch/i386/kernel/io_apic-xen.c +++ b/arch/i386/kernel/io_apic-xen.c @@ -2201,6 +2201,8 @@ static inline void init_IO_APIC_traps(void) } } +int timer_uses_ioapic_pin_0; + #ifndef CONFIG_XEN static void enable_lapic_irq (unsigned int irq) { @@ -2315,9 +2317,7 @@ static inline void unlock_ExtINT_logic(void) io_apic_write(apic, 0x10 + 2 * pin, *(((int *)&entry0) + 0)); spin_unlock_irqrestore(&ioapic_lock, flags); } -#endif /* CONFIG_XEN */ -int timer_uses_ioapic_pin_0; -#ifdef CONFI_XEN + /* * This code may look a bit paranoid, but it's supposed to cooperate with * a wide range of boards and BIOS bugs. Fortunately only the timer IRQ