summaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/xmon.h
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2008-05-08 14:27:13 +1000
committerPaul Mackerras <paulus@samba.org>2008-05-14 22:31:52 +1000
commit7d9e793463d854073f5c0dedea991a5b63336d6a (patch)
tree6c85b3b97b46c2dc2b41487494e67a510ed9e4e7 /include/asm-powerpc/xmon.h
parent8fa29d22dcb2aec97f1a508cd3741c6e0b4a9434 (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/asm-powerpc/xmon.h')
-rw-r--r--include/asm-powerpc/xmon.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-powerpc/xmon.h b/include/asm-powerpc/xmon.h
index 88320a05f0a..81477f24a18 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) { };