summaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/xmon.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-powerpc/xmon.h')
-rw-r--r--include/asm-powerpc/xmon.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/asm-powerpc/xmon.h b/include/asm-powerpc/xmon.h
index c02dd0ce13a..f1d337ed68d 100644
--- a/include/asm-powerpc/xmon.h
+++ b/include/asm-powerpc/xmon.h
@@ -12,7 +12,11 @@
#ifdef __KERNEL__
-extern void xmon_init(int);
+#ifdef CONFIG_XMON
+extern void xmon_setup(void);
+#else
+static inline void xmon_setup(void) { };
+#endif
#endif /* __KERNEL __ */
#endif /* __ASM_POWERPC_XMON_H */