]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - arch/mips/kernel/ptrace.c
ARCH: AUDIT: audit_syscall_entry() should not require the arch
[mirror_ubuntu-artful-kernel.git] / arch / mips / kernel / ptrace.c
index f639ccd5060c18d85f33a33f2cc4bce81605ae3b..d8a76f97a053d8097593fad41c06ef8afc21fee6 100644 (file)
@@ -649,9 +649,7 @@ asmlinkage long syscall_trace_enter(struct pt_regs *regs, long syscall)
        if (unlikely(test_thread_flag(TIF_SYSCALL_TRACEPOINT)))
                trace_sys_enter(regs, regs->regs[2]);
 
-       audit_syscall_entry(syscall_get_arch(),
-                           syscall,
-                           regs->regs[4], regs->regs[5],
+       audit_syscall_entry(syscall, regs->regs[4], regs->regs[5],
                            regs->regs[6], regs->regs[7]);
        return syscall;
 }