Michael Grundy | 4ba069b | 2006-09-20 15:58:39 +0200 | [diff] [blame] | 1 | #ifndef _S390_KDEBUG_H |
| 2 | #define _S390_KDEBUG_H |
| 3 | |
| 4 | /* |
| 5 | * Feb 2006 Ported to s390 <grundym@us.ibm.com> |
| 6 | */ |
Michael Grundy | 4ba069b | 2006-09-20 15:58:39 +0200 | [diff] [blame] | 7 | |
| 8 | struct pt_regs; |
| 9 | |
Michael Grundy | 4ba069b | 2006-09-20 15:58:39 +0200 | [diff] [blame] | 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, |
Michael Grundy | 4ba069b | 2006-09-20 15:58:39 +0200 | [diff] [blame] | 23 | }; |
| 24 | |
Heiko Carstens | 2b67fc4 | 2007-02-05 21:16:47 +0100 | [diff] [blame] | 25 | extern void die(const char *, struct pt_regs *, long); |
| 26 | |
Michael Grundy | 4ba069b | 2006-09-20 15:58:39 +0200 | [diff] [blame] | 27 | #endif |