mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
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 <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Arjan van de Ven <[email protected]> Cc: "Kirill A. Shutemov" <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
e2e7e09325
commit
863a604920
3 changed files with 3 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue