diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2008-05-08 00:27:13 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-05-14 08:31:52 -0400 |
commit | 7d9e793463d854073f5c0dedea991a5b63336d6a (patch) | |
tree | 6c85b3b97b46c2dc2b41487494e67a510ed9e4e7 /include | |
parent | 8fa29d22dcb2aec97f1a508cd3741c6e0b4a9434 (diff) |
[POWERPC] Add a declaration for xmon()
Usually we call xmon() via debugger(), so this could be static.
Sometimes when debugging it's nice to be able to call xmon()
directly though, so add a declaration.
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-powerpc/xmon.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-powerpc/xmon.h b/include/asm-powerpc/xmon.h index 88320a05f0a8..81477f24a188 100644 --- a/include/asm-powerpc/xmon.h +++ b/include/asm-powerpc/xmon.h | |||
@@ -15,6 +15,8 @@ | |||
15 | #ifdef CONFIG_XMON | 15 | #ifdef CONFIG_XMON |
16 | extern void xmon_setup(void); | 16 | extern void xmon_setup(void); |
17 | extern void xmon_register_spus(struct list_head *list); | 17 | extern void xmon_register_spus(struct list_head *list); |
18 | struct pt_regs; | ||
19 | extern int xmon(struct pt_regs *excp); | ||
18 | #else | 20 | #else |
19 | static inline void xmon_setup(void) { }; | 21 | static inline void xmon_setup(void) { }; |
20 | static inline void xmon_register_spus(struct list_head *list) { }; | 22 | static inline void xmon_register_spus(struct list_head *list) { }; |