projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bed5927
)
[POWERPC] Allow xmon to build without CONFIG_DEBUG_BUGVERBOSE
author
Stephen Rothwell
<sfr@canb.auug.org.au>
Sun, 4 Mar 2007 06:05:34 +0000
(17:05 +1100)
committer
Paul Mackerras
<paulus@samba.org>
Fri, 9 Mar 2007 04:03:26 +0000
(15:03 +1100)
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/xmon/xmon.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/xmon/xmon.c
b/arch/powerpc/xmon/xmon.c
index bf299b66f3fc6c0198b0f88110ea718915251769..f12687d0354d20dc0d711f3c46aba0a0e2e23151 100644
(file)
--- 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)
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)