]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - include/linux/kdebug.h
mm/hotplug: invalid PFNs from pfn_to_online_page()
[mirror_ubuntu-bionic-kernel.git] / include / linux / kdebug.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
1eeb66a1
CH
2#ifndef _LINUX_KDEBUG_H
3#define _LINUX_KDEBUG_H
4
5#include <asm/kdebug.h>
6
fe9844d5
AM
7struct notifier_block;
8
1eeb66a1
CH
9struct die_args {
10 struct pt_regs *regs;
11 const char *str;
12 long err;
13 int trapnr;
14 int signr;
15};
16
17int register_die_notifier(struct notifier_block *nb);
18int unregister_die_notifier(struct notifier_block *nb);
19
20int notify_die(enum die_val val, const char *str,
21 struct pt_regs *regs, long err, int trap, int sig);
22
23#endif /* _LINUX_KDEBUG_H */