]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[POWERPC] Add a declaration for xmon()
authorMichael Ellerman <michael@ellerman.id.au>
Thu, 8 May 2008 04:27:13 +0000 (14:27 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 14 May 2008 12:31:52 +0000 (22:31 +1000)
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>
include/asm-powerpc/xmon.h

index 88320a05f0a8738615bc8ea62c5cc606edf9ff15..81477f24a188463530578293dafe700a7b2ba382 100644 (file)
@@ -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) { };