Christoph Hellwig | 1eeb66a | 2007-05-08 00:27:03 -0700 | [diff] [blame^] | 1 | #ifndef _LINUX_KDEBUG_H |
2 | #define _LINUX_KDEBUG_H | ||||
3 | |||||
4 | #include <asm/kdebug.h> | ||||
5 | |||||
6 | struct die_args { | ||||
7 | struct pt_regs *regs; | ||||
8 | const char *str; | ||||
9 | long err; | ||||
10 | int trapnr; | ||||
11 | int signr; | ||||
12 | }; | ||||
13 | |||||
14 | int register_die_notifier(struct notifier_block *nb); | ||||
15 | int unregister_die_notifier(struct notifier_block *nb); | ||||
16 | |||||
17 | int notify_die(enum die_val val, const char *str, | ||||
18 | struct pt_regs *regs, long err, int trap, int sig); | ||||
19 | |||||
20 | #endif /* _LINUX_KDEBUG_H */ |