From 8709bd01cee13852179a1a60f1763904776b3574 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Sat, 24 Feb 2001 17:54:29 +0000 Subject: Handle CONFIG_ROTTEN_IRQ correctly. --- include/asm-mips/irq.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'include/asm-mips') 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 */ -- cgit v1.2.3