patch-2.1.82 linux/arch/i386/kernel/irq.c
Next file: linux/arch/i386/kernel/mca.c
Previous file: linux/arch/i386/kernel/i386_ksyms.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Sat Jan 24 09:16:54 1998
- Orig file:
v2.1.81/linux/arch/i386/kernel/irq.c
- Orig date:
Fri Jan 23 18:10:31 1998
diff -u --recursive --new-file v2.1.81/linux/arch/i386/kernel/irq.c linux/arch/i386/kernel/irq.c
@@ -639,6 +639,7 @@
irq_exit(cpu, irq);
}
+#ifdef __SMP__
/*
* FIXME! This is completely broken.
*/
@@ -679,6 +680,7 @@
enable_IO_APIC_irq(irq);
}
+#endif
/*
* do_IRQ handles all normal device IRQ's (the special
@@ -714,8 +716,10 @@
kstat.irqs[cpu][irq]++;
do_lowlevel_IRQ = do_8259A_IRQ;
+#ifdef __SMP__
if (IO_APIC_IRQ(irq))
do_lowlevel_IRQ = do_ioapic_IRQ;
+#endif
do_lowlevel_IRQ(irq, cpu, ®s);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov