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 9 struct pt_regs; 10 11 enum 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 26 extern void __noreturn die(struct pt_regs *, const char *); 27 28 #endif 29