xref: /openbmc/linux/arch/s390/include/asm/kdebug.h (revision a8da474e)
1 #ifndef _S390_KDEBUG_H
2 #define _S390_KDEBUG_H
3 
4 /*
5  * Feb 2006 Ported to s390 <grundym@us.ibm.com>
6  */
7 
8 struct pt_regs;
9 
10 enum 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 
25 extern void die(struct pt_regs *, const char *);
26 
27 #endif
28