]> err.no Git - linux-2.6/blobdiff - include/asm-mips/irq.h
[MIPS] Fix the crime against humanity that mipsIRQ.S is.
[linux-2.6] / include / asm-mips / irq.h
index 3f2470e9e67808d63f2bdbb71418ebcb36d2c212..d7aecca3b95f35a6f905ba29cae94074dca817d0 100644 (file)
@@ -24,11 +24,9 @@ static inline int irq_canonicalize(int irq)
 
 struct pt_regs;
 
-#ifdef CONFIG_PREEMPT
-
 extern asmlinkage unsigned int do_IRQ(unsigned int irq, struct pt_regs *regs);
 
-#else
+#ifdef CONFIG_PREEMPT
 
 /*
  * do_IRQ handles all normal device IRQ's (the special
@@ -48,5 +46,6 @@ do {                                                                  \
 #endif
 
 extern void arch_init_irq(void);
+extern void spurious_interrupt(struct pt_regs *regs);
 
 #endif /* _ASM_IRQ_H */