patch-2.3.9 linux/include/asm-mips/irq.h

Next file: linux/include/asm-mips/jazz.h
Previous file: linux/include/asm-mips/ipc.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.8/linux/include/asm-mips/irq.h linux/include/asm-mips/irq.h
@@ -10,9 +10,6 @@
 #ifndef __ASM_MIPS_IRQ_H
 #define __ASM_MIPS_IRQ_H
 
-/*
- * Actually this is a lie but we hide the local device's interrupts ...
- */
 #define NR_IRQS 64
 
 #define TIMER_IRQ 0
@@ -20,18 +17,9 @@
 extern int (*irq_cannonicalize)(int irq);
 
 struct irqaction;
-extern int setup_x86_irq(int irq, struct irqaction * new);
+extern int i8259_setup_irq(int irq, struct irqaction * new);
 extern void disable_irq(unsigned int);
 extern void enable_irq(unsigned int);
-
-extern unsigned int local_irq_count[];
-
-#ifdef __SMP__
-#error Send superfluous SMP boxes to ralf@uni-koblenz.de
-#else
-#define irq_enter(cpu, irq)     (++local_irq_count[cpu])
-#define irq_exit(cpu, irq)      (--local_irq_count[cpu])
-#endif
 
 /* Machine specific interrupt initialization  */
 extern void (*irq_setup)(void);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)