Guard declaration of handle_IRQ_event with #ifdef !__ASSEMBLY__ on v850
PATCH v850 1/1 Guard declaration of handle_IRQ_event with #ifdef !__ASSEMBLY__ on v850
Signed-off-by Miles Bader <[email protected]>
include/asm-v850/irq.h | 9 +++------ 1 files changed, 3 insertions(+), 6 deletions(-)
include/asm-v850/irq.h +3 -6
@@ -1,8 +1,8 @@/* * include/asm-v850/irq.h -- Machine interrupt handling * -* Copyright (C) 2001,02 NEC Corporation -* Copyright (C) 2001,02 Miles Bader <[email protected]> +* Copyright (C) 2001,02,04 NEC Electronics Corporation +* Copyright (C) 2001,02,04 Miles Bader <[email protected]> * * This file is subject to the terms and conditions of the GNU General * Public License. See the file COPYING in the main directory of this
@@ -62,11 +62,8 @@/* Disable an irq without waiting. */ extern void disable_irq_nosync (unsigned int irq); +extern int handle_IRQ_event (unsigned int ,struct pt_regs *,struct irqaction *);#endif /* !__ASSEMBLY__ */ -struct irqaction ; -struct pt_regs ; -int handle_IRQ_event (unsigned int ,struct pt_regs *,struct irqaction *); -#endif /* __V850_IRQ_H__ */