diff options
Diffstat (limited to 'include/asm-powerpc/xmon.h')
-rw-r--r-- | include/asm-powerpc/xmon.h | 26 |
1 files changed, 18 insertions, 8 deletions
diff --git a/include/asm-powerpc/xmon.h b/include/asm-powerpc/xmon.h index 43f7129984c7..f1d337ed68d5 100644 --- a/include/asm-powerpc/xmon.h +++ b/include/asm-powerpc/xmon.h | |||
@@ -1,12 +1,22 @@ | |||
1 | #ifndef __PPC_XMON_H | 1 | #ifndef __ASM_POWERPC_XMON_H |
2 | #define __PPC_XMON_H | 2 | #define __ASM_POWERPC_XMON_H |
3 | #ifdef __KERNEL__ | ||
4 | 3 | ||
5 | struct pt_regs; | 4 | /* |
5 | * Copyrignt (C) 2006 IBM Corp | ||
6 | * | ||
7 | * This program is free software; you can redistribute it and/or | ||
8 | * modify it under the terms of the GNU General Public License | ||
9 | * as published by the Free Software Foundation; either version | ||
10 | * 2 of the License, or (at your option) any later version. | ||
11 | */ | ||
6 | 12 | ||
7 | extern int xmon(struct pt_regs *excp); | 13 | #ifdef __KERNEL__ |
8 | extern void xmon_printf(const char *fmt, ...); | ||
9 | extern void xmon_init(int); | ||
10 | 14 | ||
15 | #ifdef CONFIG_XMON | ||
16 | extern void xmon_setup(void); | ||
17 | #else | ||
18 | static inline void xmon_setup(void) { }; | ||
11 | #endif | 19 | #endif |
12 | #endif | 20 | |
21 | #endif /* __KERNEL __ */ | ||
22 | #endif /* __ASM_POWERPC_XMON_H */ | ||