diff options
Diffstat (limited to 'arch/sparc/kernel/traps_32.c')
-rw-r--r-- | arch/sparc/kernel/traps_32.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc/kernel/traps_32.c b/arch/sparc/kernel/traps_32.c index bcdfc6168dd5..4ceecad556a9 100644 --- a/arch/sparc/kernel/traps_32.c +++ b/arch/sparc/kernel/traps_32.c | |||
@@ -103,7 +103,7 @@ void do_hw_interrupt(struct pt_regs *regs, unsigned long type) | |||
103 | die_if_kernel("Kernel bad trap", regs); | 103 | die_if_kernel("Kernel bad trap", regs); |
104 | 104 | ||
105 | force_sig_fault(SIGILL, ILL_ILLTRP, | 105 | force_sig_fault(SIGILL, ILL_ILLTRP, |
106 | (void __user *)regs->pc, type - 0x80, current); | 106 | (void __user *)regs->pc, type - 0x80); |
107 | } | 107 | } |
108 | 108 | ||
109 | void do_illegal_instruction(struct pt_regs *regs, unsigned long pc, unsigned long npc, | 109 | void do_illegal_instruction(struct pt_regs *regs, unsigned long pc, unsigned long npc, |
@@ -327,7 +327,7 @@ void handle_reg_access(struct pt_regs *regs, unsigned long pc, unsigned long npc | |||
327 | printk("Register Access Exception at PC %08lx NPC %08lx PSR %08lx\n", | 327 | printk("Register Access Exception at PC %08lx NPC %08lx PSR %08lx\n", |
328 | pc, npc, psr); | 328 | pc, npc, psr); |
329 | #endif | 329 | #endif |
330 | force_sig_fault(SIGBUS, BUS_OBJERR, (void __user *)pc, 0, current); | 330 | force_sig_fault(SIGBUS, BUS_OBJERR, (void __user *)pc, 0); |
331 | } | 331 | } |
332 | 332 | ||
333 | void handle_cp_disabled(struct pt_regs *regs, unsigned long pc, unsigned long npc, | 333 | void handle_cp_disabled(struct pt_regs *regs, unsigned long pc, unsigned long npc, |