aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/xmon.h
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2008-05-08 00:27:15 -0400
committerPaul Mackerras <paulus@samba.org>2008-05-14 08:31:54 -0400
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 81477f24a188..d83da3cbd085 100644
--- a/include/asm-powerpc/xmon.h
+++ b/include/asm-powerpc/xmon.h
@@ -12,11 +12,14 @@
12 12
13#ifdef __KERNEL__ 13#ifdef __KERNEL__
14 14
15#include <linux/irqreturn.h>
16
15#ifdef CONFIG_XMON 17#ifdef CONFIG_XMON
16extern void xmon_setup(void); 18extern void xmon_setup(void);
17extern void xmon_register_spus(struct list_head *list); 19extern void xmon_register_spus(struct list_head *list);
18struct pt_regs; 20struct pt_regs;
19extern int xmon(struct pt_regs *excp); 21extern int xmon(struct pt_regs *excp);
22extern irqreturn_t xmon_irq(int, void *);
20#else 23#else
21static inline void xmon_setup(void) { }; 24static inline void xmon_setup(void) { };
22static inline void xmon_register_spus(struct list_head *list) { }; 25static inline void xmon_register_spus(struct list_head *list) { };