sh: Wire up oops reporting in the die notifier chain.
authorPaul Mundt <lethal@linux-sh.org>
Tue, 21 Oct 2008 09:33:36 +0000 (18:33 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 21 Oct 2008 09:33:36 +0000 (18:33 +0900)
commitc9306f0efbfbe65a6e9212082f1d1fc19fdc3094
tree361c57214853d1b84f509da086cdf3692d776087
parentf7141d5884828f733cf9d13ed693135954b0c189
sh: Wire up oops reporting in the die notifier chain.

Commit 3f5a54e371ca20b119b73704f6c01b71295c1714 ("ftrace: dump out ftrace
buffers to console on panic") added an ftrace buffer dumper that hooks
in to the die notifier chain and dumps out data in the oops path.

Unfortunately SH supported ftrace but didn't support DIE_OOPS, so add
that in and get it building again.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/kdebug.h
arch/sh/kernel/traps_32.c