aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/xmon
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2007-03-04 01:05:34 -0500
committerPaul Mackerras <paulus@samba.org>2007-03-08 23:03:26 -0500
commit0a7c7efccc08f00ae6fc8e1f2de0ee61f07357fd (patch)
treeb87ce4a272f83b51fae97d45fa11fdd4948b3ca9 /arch/powerpc/xmon
parentbed59275810a55500e885cbdc5c2a0507f13c00e (diff)
[POWERPC] Allow xmon to build without CONFIG_DEBUG_BUGVERBOSE
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/xmon')
-rw-r--r--arch/powerpc/xmon/xmon.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/xmon/xmon.c b/arch/powerpc/xmon/xmon.c
index bf299b66f3fc..f12687d0354d 100644
--- a/arch/powerpc/xmon/xmon.c
+++ b/arch/powerpc/xmon/xmon.c
@@ -1360,8 +1360,12 @@ static void print_bug_trap(struct pt_regs *regs)
1360 if (is_warning_bug(bug)) 1360 if (is_warning_bug(bug))
1361 return; 1361 return;
1362 1362
1363#ifdef CONFIG_DEBUG_BUGVERBOSE
1363 printf("kernel BUG at %s:%u!\n", 1364 printf("kernel BUG at %s:%u!\n",
1364 bug->file, bug->line); 1365 bug->file, bug->line);
1366#else
1367 printf("kernel BUG at %p!\n", (void *)bug->bug_addr);
1368#endif
1365} 1369}
1366 1370
1367void excprint(struct pt_regs *fp) 1371void excprint(struct pt_regs *fp)