[PATCH][v850] Guard declaration of handle_IRQ_event with #ifdef !__ASSEMBLY__ on v850

From: Miles Bader
Date: Fri Jun 25 2004 - 01:31:22 EST


Signed-off-by: Miles Bader <miles@xxxxxxx>

include/asm-v850/irq.h | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)

diff -ruN -X../cludes linux-2.6.7-uc0/include/asm-v850/irq.h linux-2.6.7-uc0-v850-20040625/include/asm-v850/irq.h
--- linux-2.6.7-uc0/include/asm-v850/irq.h 2004-05-11 13:20:53.000000000 +0900
+++ linux-2.6.7-uc0-v850-20040625/include/asm-v850/irq.h 2004-06-24 17:20:36.000000000 +0900
@@ -1,8 +1,8 @@
/*
* include/asm-v850/irq.h -- Machine interrupt handling
*
- * Copyright (C) 2001,02 NEC Corporation
- * Copyright (C) 2001,02 Miles Bader <miles@xxxxxxx>
+ * Copyright (C) 2001,02,04 NEC Electronics Corporation
+ * Copyright (C) 2001,02,04 Miles Bader <miles@xxxxxxx>
*
* 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__ */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/