| .. | .. |
|---|
| 18 | 18 | #include <linux/smp.h> |
|---|
| 19 | 19 | #include <linux/kdebug.h> |
|---|
| 20 | 20 | #include <linux/export.h> |
|---|
| 21 | +#include <linux/pgtable.h> |
|---|
| 21 | 22 | |
|---|
| 22 | 23 | #include <asm/delay.h> |
|---|
| 23 | 24 | #include <asm/ptrace.h> |
|---|
| 24 | 25 | #include <asm/oplib.h> |
|---|
| 25 | 26 | #include <asm/page.h> |
|---|
| 26 | | -#include <asm/pgtable.h> |
|---|
| 27 | 27 | #include <asm/unistd.h> |
|---|
| 28 | 28 | #include <asm/traps.h> |
|---|
| 29 | 29 | |
|---|
| .. | .. |
|---|
| 103 | 103 | die_if_kernel("Kernel bad trap", regs); |
|---|
| 104 | 104 | |
|---|
| 105 | 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 | 109 | void do_illegal_instruction(struct pt_regs *regs, unsigned long pc, unsigned long npc, |
|---|
| .. | .. |
|---|
| 327 | 327 | printk("Register Access Exception at PC %08lx NPC %08lx PSR %08lx\n", |
|---|
| 328 | 328 | pc, npc, psr); |
|---|
| 329 | 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 | 333 | void handle_cp_disabled(struct pt_regs *regs, unsigned long pc, unsigned long npc, |
|---|