Subject: powerpc: fix building without CONFIG_DEBUG_BUGVERBOSE From: Arnd Bergmann Signed-off-by: Arnd Bergmann Signed-off-by: Arnd Bergmann Index: linux-2.6/arch/powerpc/xmon/xmon.c =================================================================== --- linux-2.6.orig/arch/powerpc/xmon/xmon.c +++ linux-2.6/arch/powerpc/xmon/xmon.c @@ -1360,8 +1360,9 @@ static void print_bug_trap(struct pt_reg if (is_warning_bug(bug)) return; - printf("kernel BUG at %s:%u!\n", - bug->file, bug->line); +#ifdef CONFIG_DEBUG_BUGVERBOSE + printf("kernel BUG at %s:%u!\n", bug->file, bug->line); +#endif } void excprint(struct pt_regs *fp)