kprobes: fix module compilation error with CONFIG_KPROBES=n
[linux-2.6/mini2440.git] / include / linux / kdebug.h
blobed815090b3bc2bc686612697dadbbdd2c4f85d0a
1 #ifndef _LINUX_KDEBUG_H
2 #define _LINUX_KDEBUG_H
4 #include <asm/kdebug.h>
6 struct notifier_block;
8 struct die_args {
9 struct pt_regs *regs;
10 const char *str;
11 long err;
12 int trapnr;
13 int signr;
16 int register_die_notifier(struct notifier_block *nb);
17 int unregister_die_notifier(struct notifier_block *nb);
19 int notify_die(enum die_val val, const char *str,
20 struct pt_regs *regs, long err, int trap, int sig);
22 #endif /* _LINUX_KDEBUG_H */