diff options
author | Anton Blanchard <anton@samba.org> | 2005-01-11 01:43:28 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-01-11 01:43:28 -0800 |
commit | 9aaf64a0f7cfd94cac1d0be99d2943e1302c0608 (patch) | |
tree | 4ad065425ff7cd670462b181b8b56936deee05ab /include | |
parent | 61542216fa90397a2e70c46583edf26bc81994df (diff) | |
download | history-9aaf64a0f7cfd94cac1d0be99d2943e1302c0608.tar.gz |
[PATCH] ppc64: make xmon print BUG() warnings
I've had to explain to a number of people that a 0x700 exception is often a
BUG(). Make this crystal clear by printing the BUG information in the xmon
exception printout.
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-ppc64/bug.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-ppc64/bug.h b/include/asm-ppc64/bug.h index 790bc56091d612..db31dd22233c69 100644 --- a/include/asm-ppc64/bug.h +++ b/include/asm-ppc64/bug.h @@ -18,6 +18,8 @@ struct bug_entry { const char *function; }; +struct bug_entry *find_bug(unsigned long bugaddr); + /* * If this bit is set in the line number it means that the trap * is for WARN_ON rather than BUG or BUG_ON. |