* Something tried to access memory that isn't in our memory map..
  * User mode accesses just cause a SIGSEGV
  */
-static void __do_user_fault(struct task_struct *tsk, unsigned long addr,
-               unsigned int fsr, unsigned int sig, int code,
-               struct pt_regs *regs)
+static void __do_user_fault(unsigned long addr, unsigned int fsr,
+                           unsigned int sig, int code, struct pt_regs *regs)
 {
+       struct task_struct *tsk = current;
+
        tsk->thread.address = addr;
        tsk->thread.error_code = fsr;
        tsk->thread.trap_no = 14;
         * have no context to handle this fault with.
         */
        if (user_mode(regs))
-               __do_user_fault(tsk, addr, fsr, SIGSEGV, SEGV_MAPERR, regs);
+               __do_user_fault(addr, fsr, SIGSEGV, SEGV_MAPERR, regs);
        else
                __do_kernel_fault(mm, addr, fsr, regs);
 }
                code = fault == VM_FAULT_BADACCESS ? SEGV_ACCERR : SEGV_MAPERR;
        }
 
-       __do_user_fault(tsk, addr, fsr, sig, code, regs);
+       __do_user_fault(addr, fsr, sig, code, regs);
        return 0;
 
 no_context: