blob: 5c1abd47612a433fa6a33fbdc7a90b1cde66890d [file] [log] [blame]
Michael Grundy4ba069b2006-09-20 15:58:39 +02001#ifndef _S390_KDEBUG_H
2#define _S390_KDEBUG_H
3
4/*
5 * Feb 2006 Ported to s390 <grundym@us.ibm.com>
6 */
Michael Grundy4ba069b2006-09-20 15:58:39 +02007
8struct pt_regs;
9
Michael Grundy4ba069b2006-09-20 15:58:39 +020010enum 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,
Michael Grundy4ba069b2006-09-20 15:58:39 +020023};
24
Martin Schwidefskyaa33c8c2011-12-27 11:27:18 +010025extern void die(struct pt_regs *, const char *);
Heiko Carstens2b67fc42007-02-05 21:16:47 +010026
Michael Grundy4ba069b2006-09-20 15:58:39 +020027#endif