Skip to content

Commit

Permalink
[POWERPC] Add a declaration for xmon()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Michael Ellerman authored and Paul Mackerras committed May 14, 2008
1 parent 8fa29d2 commit 7d9e793
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/asm-powerpc/xmon.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) { };
Expand Down

0 comments on commit 7d9e793

Please sign in to comment.