diff options
Diffstat (limited to 'include/asm-powerpc/xmon.h')
-rw-r--r-- | include/asm-powerpc/xmon.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/asm-powerpc/xmon.h b/include/asm-powerpc/xmon.h index c02dd0ce13ac..f1d337ed68d5 100644 --- a/include/asm-powerpc/xmon.h +++ b/include/asm-powerpc/xmon.h | |||
@@ -12,7 +12,11 @@ | |||
12 | 12 | ||
13 | #ifdef __KERNEL__ | 13 | #ifdef __KERNEL__ |
14 | 14 | ||
15 | extern void xmon_init(int); | 15 | #ifdef CONFIG_XMON |
16 | extern void xmon_setup(void); | ||
17 | #else | ||
18 | static inline void xmon_setup(void) { }; | ||
19 | #endif | ||
16 | 20 | ||
17 | #endif /* __KERNEL __ */ | 21 | #endif /* __KERNEL __ */ |
18 | #endif /* __ASM_POWERPC_XMON_H */ | 22 | #endif /* __ASM_POWERPC_XMON_H */ |