aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/xmon.h
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2008-05-08 00:27:13 -0400
committerPaul Mackerras <paulus@samba.org>2008-05-14 08:31:52 -0400
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 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
16extern void xmon_setup(void); 16extern void xmon_setup(void);
17extern void xmon_register_spus(struct list_head *list); 17extern void xmon_register_spus(struct list_head *list);
18struct pt_regs;
19extern int xmon(struct pt_regs *excp);
18#else 20#else
19static inline void xmon_setup(void) { }; 21static inline void xmon_setup(void) { };
20static inline void xmon_register_spus(struct list_head *list) { }; 22static inline void xmon_register_spus(struct list_head *list) { };