diff options
Diffstat (limited to 'arch/s390/kernel/traps.c')
-rw-r--r-- | arch/s390/kernel/traps.c | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/arch/s390/kernel/traps.c b/arch/s390/kernel/traps.c index a63d34c3611e..f386e167277a 100644 --- a/arch/s390/kernel/traps.c +++ b/arch/s390/kernel/traps.c | |||
@@ -43,14 +43,10 @@ | |||
43 | #include <asm/debug.h> | 43 | #include <asm/debug.h> |
44 | #include "entry.h" | 44 | #include "entry.h" |
45 | 45 | ||
46 | pgm_check_handler_t *pgm_check_table[128]; | 46 | void (*pgm_check_table[128])(struct pt_regs *, long, unsigned long); |
47 | 47 | ||
48 | int show_unhandled_signals; | 48 | int show_unhandled_signals; |
49 | 49 | ||
50 | extern pgm_check_handler_t do_protection_exception; | ||
51 | extern pgm_check_handler_t do_dat_exception; | ||
52 | extern pgm_check_handler_t do_asce_exception; | ||
53 | |||
54 | #define stack_pointer ({ void **sp; asm("la %0,0(15)" : "=&d" (sp)); sp; }) | 50 | #define stack_pointer ({ void **sp; asm("la %0,0(15)" : "=&d" (sp)); sp; }) |
55 | 51 | ||
56 | #ifndef CONFIG_64BIT | 52 | #ifndef CONFIG_64BIT |
@@ -489,9 +485,8 @@ static void __kprobes illegal_op(struct pt_regs *regs, long pgm_int_code, | |||
489 | 485 | ||
490 | 486 | ||
491 | #ifdef CONFIG_MATHEMU | 487 | #ifdef CONFIG_MATHEMU |
492 | asmlinkage void specification_exception(struct pt_regs *regs, | 488 | void specification_exception(struct pt_regs *regs, long pgm_int_code, |
493 | long pgm_int_code, | 489 | unsigned long trans_exc_code) |
494 | unsigned long trans_exc_code) | ||
495 | { | 490 | { |
496 | __u8 opcode[6]; | 491 | __u8 opcode[6]; |
497 | __u16 __user *location = NULL; | 492 | __u16 __user *location = NULL; |
@@ -648,7 +643,7 @@ static void space_switch_exception(struct pt_regs *regs, long pgm_int_code, | |||
648 | do_trap(pgm_int_code, SIGILL, "space switch event", regs, &info); | 643 | do_trap(pgm_int_code, SIGILL, "space switch event", regs, &info); |
649 | } | 644 | } |
650 | 645 | ||
651 | asmlinkage void __kprobes kernel_stack_overflow(struct pt_regs * regs) | 646 | void __kprobes kernel_stack_overflow(struct pt_regs * regs) |
652 | { | 647 | { |
653 | bust_spinlocks(1); | 648 | bust_spinlocks(1); |
654 | printk("Kernel stack overflow.\n"); | 649 | printk("Kernel stack overflow.\n"); |