This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / include / asm-mips / irq.h
index b90b11d..d9667a8 100644 (file)
@@ -22,32 +22,14 @@ static inline int irq_canonicalize(int irq)
 #define irq_canonicalize(irq) (irq)    /* Sane hardware, sane code ... */
 #endif
 
-struct pt_regs;
-
-#ifdef CONFIG_PREEMPT
-
-extern asmlinkage unsigned int do_IRQ(unsigned int irq, struct pt_regs *regs);
+extern void disable_irq(unsigned int);
+extern void disable_irq_nosync(unsigned int);
+extern void enable_irq(unsigned int);
 
-#else
-
-/*
- * do_IRQ handles all normal device IRQ's (the special
- * SMP cross-CPU interrupts have their own specific
- * handlers).
- *
- * Ideally there should be away to get this into kernel/irq/handle.c to
- * avoid the overhead of a call for just a tiny function ...
- */
-#define do_IRQ(irq, regs)                                              \
-do {                                                                   \
-       irq_enter();                                                    \
-       __do_IRQ((irq), (regs));                                        \
-       irq_exit();                                                     \
-} while (0)
-
-#endif
+struct pt_regs;
+extern asmlinkage unsigned int do_IRQ(int irq, struct pt_regs *regs);
 
-extern void arch_init_irq(void);
+extern void init_generic_irq(void);
 
 struct irqaction;
 int handle_IRQ_event(unsigned int, struct pt_regs *, struct irqaction *);