diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2001-02-24 17:54:29 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2001-02-24 17:54:29 +0000 |
commit | 8709bd01cee13852179a1a60f1763904776b3574 (patch) | |
tree | 723bc6ee98d9cf5f175d16b2eae4646a0aa31256 /include/asm-mips | |
parent | 5feb721cef1f184226928ea3072a345269ebafaf (diff) |
Handle CONFIG_ROTTEN_IRQ correctly.
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 */ |