提交 7d9e7934 编写于 作者: M Michael Ellerman 提交者: Paul Mackerras

[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: NMichael Ellerman <michael@ellerman.id.au>
Signed-off-by: NPaul Mackerras <paulus@samba.org>
上级 8fa29d22
...@@ -15,6 +15,8 @@ ...@@ -15,6 +15,8 @@
#ifdef CONFIG_XMON #ifdef CONFIG_XMON
extern void xmon_setup(void); extern void xmon_setup(void);
extern void xmon_register_spus(struct list_head *list); extern void xmon_register_spus(struct list_head *list);
struct pt_regs;
extern int xmon(struct pt_regs *excp);
#else #else
static inline void xmon_setup(void) { }; static inline void xmon_setup(void) { };
static inline void xmon_register_spus(struct list_head *list) { }; static inline void xmon_register_spus(struct list_head *list) { };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册