summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@mctpc71.ucom.lsi.nec.co.jp>2004-06-25 00:54:20 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-06-25 00:54:20 -0700
commit5eca30da4874cfed2c8acdf7aa031a72c5a5b1eb (patch)
treef925dfbfc845163dafdf70305def75300bbb5c3e
parentef4b19c7607c594bfe81f2e465e5d2a9ee8e7f67 (diff)
[PATCH] v850: guard declaration of handle_IRQ_event with #ifdef !__ASSEMBLY__
Signed-off-by: Miles Bader <miles@gnu.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--include/asm-v850/irq.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/include/asm-v850/irq.h b/include/asm-v850/irq.h
index 90c83aa053c8..44431152b36d 100644
--- a/include/asm-v850/irq.h
+++ b/include/asm-v850/irq.h
@@ -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@gnu.org>
+ * Copyright (C) 2001,02,04 NEC Electronics Corporation
+ * Copyright (C) 2001,02,04 Miles Bader <miles@gnu.org>
*
* 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 @@ extern void disable_irq (unsigned int irq);
/* 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__ */