Loading...
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _S390_KDEBUG_H
3#define _S390_KDEBUG_H
4
5/*
6 * Feb 2006 Ported to s390 <grundym@us.ibm.com>
7 */
8
9struct pt_regs;
10
11enum die_val {
12 DIE_OOPS = 1,
13 DIE_BPT,
14 DIE_SSTEP,
15 DIE_PANIC,
16 DIE_NMI,
17 DIE_DIE,
18 DIE_NMIWATCHDOG,
19 DIE_KERNELDEBUG,
20 DIE_TRAP,
21 DIE_GPF,
22 DIE_CALL,
23 DIE_NMI_IPI,
24};
25
26extern void __noreturn die(struct pt_regs *, const char *);
27
28#endif
1#ifndef _S390_KDEBUG_H
2#define _S390_KDEBUG_H
3
4/*
5 * Feb 2006 Ported to s390 <grundym@us.ibm.com>
6 */
7
8struct pt_regs;
9
10enum die_val {
11 DIE_OOPS = 1,
12 DIE_BPT,
13 DIE_SSTEP,
14 DIE_PANIC,
15 DIE_NMI,
16 DIE_DIE,
17 DIE_NMIWATCHDOG,
18 DIE_KERNELDEBUG,
19 DIE_TRAP,
20 DIE_GPF,
21 DIE_CALL,
22 DIE_NMI_IPI,
23};
24
25extern void die(const char *, struct pt_regs *, long);
26
27#endif