summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorAnton Blanchard2010-08-11 03:03:30 +0200
committerLinus Torvalds2010-08-11 17:59:22 +0200
commit863a6049202412a6d655d052eb1c45ca7dd74a83 (patch)
tree9550c1f6c484460cb646f4472558512ac8a9f149 /kernel
parentlib/bug.c: make WARN implementation match the kernel/panic.c one (diff)
downloadkernel-qcow2-linux-863a6049202412a6d655d052eb1c45ca7dd74a83.tar.gz
kernel-qcow2-linux-863a6049202412a6d655d052eb1c45ca7dd74a83.tar.xz
kernel-qcow2-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 'kernel')
-rw-r--r--kernel/panic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/panic.c b/kernel/panic.c
index 3e9037ae10e1..4c13b1a88ebb 100644
--- a/kernel/panic.c
+++ b/kernel/panic.c
@@ -338,7 +338,7 @@ static int init_oops_id(void)
}
late_initcall(init_oops_id);
-static void print_oops_end_marker(void)
+void print_oops_end_marker(void)
{
init_oops_id();
printk(KERN_WARNING "---[ end trace %016llx ]---\n",