aboutsummaryrefslogtreecommitdiff
path: root/include/asm-powerpc/xmon.h
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2008-05-08 14:27:15 +1000
committerPaul Mackerras <paulus@samba.org>2008-05-14 22:31:54 +1000
commitaf3b74df1b2fa4dbfb0534818167f6393f5ae7c7 (patch)
treed6b5bdf18d2148382bd7166a43635b2699b05022 /include/asm-powerpc/xmon.h
parent7d9e793463d854073f5c0dedea991a5b63336d6a (diff)
[POWERPC] Move xmon_irq() declaration into xmon.h
The typdef for irqreturn_t was moved into its own header a while back, so there's no reason we can't move xmon_irq() into xmon.h now. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-powerpc/xmon.h')
-rw-r--r--include/asm-powerpc/xmon.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-powerpc/xmon.h b/include/asm-powerpc/xmon.h
index 81477f24a18..d83da3cbd08 100644
--- a/include/asm-powerpc/xmon.h
+++ b/include/asm-powerpc/xmon.h
@@ -12,11 +12,14 @@
#ifdef __KERNEL__
+#include <linux/irqreturn.h>
+
#ifdef CONFIG_XMON
extern void xmon_setup(void);
extern void xmon_register_spus(struct list_head *list);
struct pt_regs;
extern int xmon(struct pt_regs *excp);
+extern irqreturn_t xmon_irq(int, void *);
#else
static inline void xmon_setup(void) { };
static inline void xmon_register_spus(struct list_head *list) { };