diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2008-05-08 14:27:13 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-05-14 22:31:52 +1000 |
commit | 7d9e793463d854073f5c0dedea991a5b63336d6a (patch) | |
tree | 6c85b3b97b46c2dc2b41487494e67a510ed9e4e7 /include/asm-powerpc/xmon.h | |
parent | 8fa29d22dcb2aec97f1a508cd3741c6e0b4a9434 (diff) | |
download | kernel_samsung_smdk4412-7d9e793463d854073f5c0dedea991a5b63336d6a.zip kernel_samsung_smdk4412-7d9e793463d854073f5c0dedea991a5b63336d6a.tar.gz kernel_samsung_smdk4412-7d9e793463d854073f5c0dedea991a5b63336d6a.tar.bz2 |
[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/asm-powerpc/xmon.h')
-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 88320a0..81477f2 100644 --- a/include/asm-powerpc/xmon.h +++ b/include/asm-powerpc/xmon.h @@ -15,6 +15,8 @@ #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); #else static inline void xmon_setup(void) { }; static inline void xmon_register_spus(struct list_head *list) { }; |