mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-18 17:54:13 +08:00
c9306f0efb
Commit 3f5a54e371
("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>
11 lines
149 B
C
11 lines
149 B
C
#ifndef __ASM_SH_KDEBUG_H
|
|
#define __ASM_SH_KDEBUG_H
|
|
|
|
/* Grossly misnamed. */
|
|
enum die_val {
|
|
DIE_TRAP,
|
|
DIE_OOPS,
|
|
};
|
|
|
|
#endif /* __ASM_SH_KDEBUG_H */
|