0001
0002 #ifndef _LINUX_KDEBUG_H
0003 #define _LINUX_KDEBUG_H
0004
0005 #include <asm/kdebug.h>
0006
0007 struct notifier_block;
0008
0009 struct die_args {
0010 struct pt_regs *regs;
0011 const char *str;
0012 long err;
0013 int trapnr;
0014 int signr;
0015 };
0016
0017 int register_die_notifier(struct notifier_block *nb);
0018 int unregister_die_notifier(struct notifier_block *nb);
0019
0020 int notify_die(enum die_val val, const char *str,
0021 struct pt_regs *regs, long err, int trap, int sig);
0022
0023 #endif