summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2010-08-11 03:03:30 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2010-08-11 17:59:22 +0200
commit863a6049202412a6d655d052eb1c45ca7dd74a83 (patch)
tree9550c1f6c484460cb646f4472558512ac8a9f149 /lib
parentlib/bug.c: make WARN implementation match the kernel/panic.c one (diff)
downloadlinux-863a6049202412a6d655d052eb1c45ca7dd74a83.tar.xz
linux-863a6049202412a6d655d052eb1c45ca7dd74a83.zip
lib/bug.c: add oops end marker to WARN implementation
We are missing the oops end marker for the exception based WARN implementation in lib/bug.c. This is useful for logfile analysis tools. Signed-off-by: Anton Blanchard <anton@samba.org> Cc: Ingo Molnar <mingo@elte.hu> Cc: Arjan van de Ven <arjan@infradead.org> Cc: "Kirill A. Shutemov" <kirill@shutemov.name> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/bug.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bug.c b/lib/bug.c
index 6c5b30cf3f0f..7cdfad88128f 100644
--- a/lib/bug.c
+++ b/lib/bug.c
@@ -166,6 +166,7 @@ enum bug_trap_type report_bug(unsigned long bugaddr, struct pt_regs *regs)
print_modules();
show_regs(regs);
+ print_oops_end_marker();
add_taint(BUG_GET_TAINT(bug));
return BUG_TRAP_TYPE_WARN;
}