nlm: Ensure callback code also checks that the files match
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / include / linux / kdebug.h
CommitLineData
1eeb66a1
CH
1#ifndef _LINUX_KDEBUG_H
2#define _LINUX_KDEBUG_H
3
4#include <asm/kdebug.h>
5
fe9844d5
AM
6struct notifier_block;
7
1eeb66a1
CH
8struct die_args {
9 struct pt_regs *regs;
10 const char *str;
11 long err;
12 int trapnr;
13 int signr;
14};
15
16int register_die_notifier(struct notifier_block *nb);
17int unregister_die_notifier(struct notifier_block *nb);
18
19int notify_die(enum die_val val, const char *str,
20 struct pt_regs *regs, long err, int trap, int sig);
21
22#endif /* _LINUX_KDEBUG_H */