summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/xmon.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/include/asm/xmon.h')
-rw-r--r--arch/powerpc/include/asm/xmon.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/xmon.h b/arch/powerpc/include/asm/xmon.h
index eb42a0c6e1d9..30ff69bd8f43 100644
--- a/arch/powerpc/include/asm/xmon.h
+++ b/arch/powerpc/include/asm/xmon.h
@@ -29,7 +29,7 @@ static inline void xmon_register_spus(struct list_head *list) { };
extern int cpus_are_in_xmon(void);
#endif
-extern void xmon_printf(const char *format, ...);
+extern __printf(1, 2) void xmon_printf(const char *format, ...);
#endif /* __KERNEL __ */
#endif /* __ASM_POWERPC_XMON_H */