nfit, libnvdimm: deprecate the generic SMART ioctl
[linux-2.6/btrfs-unstable.git] / include / linux / kdebug.h
blobfd311565fabfbf1a8fc752bb1c4d6b2d4f8b9f7c
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _LINUX_KDEBUG_H
3 #define _LINUX_KDEBUG_H
5 #include <asm/kdebug.h>
7 struct notifier_block;
9 struct die_args {
10 struct pt_regs *regs;
11 const char *str;
12 long err;
13 int trapnr;
14 int signr;
17 int register_die_notifier(struct notifier_block *nb);
18 int unregister_die_notifier(struct notifier_block *nb);
20 int notify_die(enum die_val val, const char *str,
21 struct pt_regs *regs, long err, int trap, int sig);
23 #endif /* _LINUX_KDEBUG_H */