diff options
Diffstat (limited to 'include/asm-mips')
-rw-r--r-- | include/asm-mips/irq.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/asm-mips/irq.h b/include/asm-mips/irq.h index eb55e94c9..f89e071c3 100644 --- a/include/asm-mips/irq.h +++ b/include/asm-mips/irq.h @@ -4,7 +4,7 @@ * for more details. * * Copyright (C) 1994 by Waldorf GMBH, written by Ralf Baechle - * Copyright (C) 1995, 96, 97, 98, 99, 2000 by Ralf Baechle + * Copyright (C) 1995, 96, 97, 98, 99, 2000, 2001 by Ralf Baechle */ #ifndef _ASM_IRQ_H #define _ASM_IRQ_H @@ -27,7 +27,13 @@ static inline int irq_cannonicalize(int irq) struct irqaction; extern int i8259_setup_irq(int irq, struct irqaction * new); extern void disable_irq(unsigned int); + +#ifdef CONFIG_ROTTEN_IRQ #define disable_irq_nosync disable_irq +#else +extern void disable_irq_nosync(unsigned int); +#endif + extern void enable_irq(unsigned int); /* Machine specific interrupt initialization */ |