Drop struct pt_regs * argument in compat_sys_execve()
[deliverable/linux.git] / include / linux / compat.h
index d0ced1011f2fa28cf96087880d6cddda011de13f..d2db71077d932a371652e884617006f68d0fa2c1 100644 (file)
@@ -286,10 +286,8 @@ asmlinkage ssize_t compat_sys_pwritev(unsigned long fd,
 
 int compat_do_execve(const char *filename, const compat_uptr_t __user *argv,
                     const compat_uptr_t __user *envp, struct pt_regs *regs);
-#ifdef __ARCH_WANT_SYS_EXECVE
 asmlinkage long compat_sys_execve(const char __user *filename, const compat_uptr_t __user *argv,
                     const compat_uptr_t __user *envp);
-#endif
 
 asmlinkage long compat_sys_select(int n, compat_ulong_t __user *inp,
                compat_ulong_t __user *outp, compat_ulong_t __user *exp,
This page took 0.025217 seconds and 5 git commands to generate.