aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/xmon/xmon.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/xmon/xmon.c')
-rw-r--r--arch/powerpc/xmon/xmon.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/xmon/xmon.c b/arch/powerpc/xmon/xmon.c
index 34c3d0688fe0..076368c8b8a9 100644
--- a/arch/powerpc/xmon/xmon.c
+++ b/arch/powerpc/xmon/xmon.c
@@ -1353,6 +1353,7 @@ static void backtrace(struct pt_regs *excp)
1353 1353
1354static void print_bug_trap(struct pt_regs *regs) 1354static void print_bug_trap(struct pt_regs *regs)
1355{ 1355{
1356#ifdef CONFIG_BUG
1356 const struct bug_entry *bug; 1357 const struct bug_entry *bug;
1357 unsigned long addr; 1358 unsigned long addr;
1358 1359
@@ -1373,6 +1374,7 @@ static void print_bug_trap(struct pt_regs *regs)
1373#else 1374#else
1374 printf("kernel BUG at %p!\n", (void *)bug->bug_addr); 1375 printf("kernel BUG at %p!\n", (void *)bug->bug_addr);
1375#endif 1376#endif
1377#endif /* CONFIG_BUG */
1376} 1378}
1377 1379
1378static void excprint(struct pt_regs *fp) 1380static void excprint(struct pt_regs *fp)