diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2008-05-08 00:27:15 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-05-14 08:31:54 -0400 |
commit | af3b74df1b2fa4dbfb0534818167f6393f5ae7c7 (patch) | |
tree | d6b5bdf18d2148382bd7166a43635b2699b05022 /include/asm-powerpc/xmon.h | |
parent | 7d9e793463d854073f5c0dedea991a5b63336d6a (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.h | 3 |
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 |
16 | extern void xmon_setup(void); | 18 | extern void xmon_setup(void); |
17 | extern void xmon_register_spus(struct list_head *list); | 19 | extern void xmon_register_spus(struct list_head *list); |
18 | struct pt_regs; | 20 | struct pt_regs; |
19 | extern int xmon(struct pt_regs *excp); | 21 | extern int xmon(struct pt_regs *excp); |
22 | extern irqreturn_t xmon_irq(int, void *); | ||
20 | #else | 23 | #else |
21 | static inline void xmon_setup(void) { }; | 24 | static inline void xmon_setup(void) { }; |
22 | static inline void xmon_register_spus(struct list_head *list) { }; | 25 | static inline void xmon_register_spus(struct list_head *list) { }; |