Commit 0a7c7efc authored by Stephen Rothwell's avatar Stephen Rothwell Committed by Paul Mackerras
Browse files

[POWERPC] Allow xmon to build without CONFIG_DEBUG_BUGVERBOSE

parent bed59275
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1360,8 +1360,12 @@ static void print_bug_trap(struct pt_regs *regs)
	if (is_warning_bug(bug))
		return;

#ifdef CONFIG_DEBUG_BUGVERBOSE
	printf("kernel BUG at %s:%u!\n",
	       bug->file, bug->line);
#else
	printf("kernel BUG at %p!\n", (void *)bug->bug_addr);
#endif
}

void excprint(struct pt_regs *fp)