patch-2.1.89 linux/arch/i386/kernel/irq.c

Next file: linux/arch/i386/kernel/irq.h
Previous file: linux/arch/alpha/math-emu/ieee-math.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.88/linux/arch/i386/kernel/irq.c linux/arch/i386/kernel/irq.c
@@ -82,20 +82,16 @@
  * but we have _much_ higher compatibility and robustness this way.
  */
 
-#ifndef __SMP__
-  static const unsigned int io_apic_irqs = 0;
-#else
-  /*
-   * Default to all normal IRQ's _not_ using the IO APIC.
-   *
-   * To get IO-APIC interrupts you should either:
-   *  - turn some of them into IO-APIC interrupts at runtime
-   *    with some magic system call interface.
-   *  - explicitly use irq 16-19 depending on which PCI irq
-   *    line your PCI controller uses.
-   */
-  unsigned int io_apic_irqs = 0;
-#endif
+/*
+ * Default to all normal IRQ's _not_ using the IO APIC.
+ *
+ * To get IO-APIC interrupts you should either:
+ *  - turn some of them into IO-APIC interrupts at runtime
+ *    with some magic system call interface.
+ *  - explicitly use irq 16-19 depending on which PCI irq
+ *    line your PCI controller uses.
+ */
+unsigned int io_apic_irqs = 0;
 
 struct hw_interrupt_type {
 	void (*handle)(unsigned int irq, int cpu, struct pt_regs * regs);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov