diff options
author | Mark Salter <msalter@redhat.com> | 2012-09-21 12:26:39 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-10-01 00:59:09 -0400 |
commit | 680a14535c330481517d3f95b2277353a14b8442 (patch) | |
tree | 2059d744e0fc93706864b2396b45cf0673d39286 /arch/c6x/include | |
parent | 39fcf44099dd64679c232c4a7bb81cf469e4e43c (diff) |
c6x: switch to generic sys_execve
Signed-off-by: Mark Salter <msalter@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/c6x/include')
-rw-r--r-- | arch/c6x/include/asm/syscalls.h | 5 | ||||
-rw-r--r-- | arch/c6x/include/asm/unistd.h | 1 |
2 files changed, 1 insertions, 5 deletions
diff --git a/arch/c6x/include/asm/syscalls.h b/arch/c6x/include/asm/syscalls.h index aed53da703c9..e7b8991dc07c 100644 --- a/arch/c6x/include/asm/syscalls.h +++ b/arch/c6x/include/asm/syscalls.h | |||
@@ -44,11 +44,6 @@ extern int sys_cache_sync(unsigned long s, unsigned long e); | |||
44 | struct pt_regs; | 44 | struct pt_regs; |
45 | 45 | ||
46 | extern asmlinkage long sys_c6x_clone(struct pt_regs *regs); | 46 | extern asmlinkage long sys_c6x_clone(struct pt_regs *regs); |
47 | extern asmlinkage long sys_c6x_execve(const char __user *name, | ||
48 | const char __user *const __user *argv, | ||
49 | const char __user *const __user *envp, | ||
50 | struct pt_regs *regs); | ||
51 | |||
52 | 47 | ||
53 | #include <asm-generic/syscalls.h> | 48 | #include <asm-generic/syscalls.h> |
54 | 49 | ||
diff --git a/arch/c6x/include/asm/unistd.h b/arch/c6x/include/asm/unistd.h index 1ce3a6f2372b..3c131d5888c1 100644 --- a/arch/c6x/include/asm/unistd.h +++ b/arch/c6x/include/asm/unistd.h | |||
@@ -17,6 +17,7 @@ | |||
17 | #define _ASM_C6X_UNISTD_H | 17 | #define _ASM_C6X_UNISTD_H |
18 | 18 | ||
19 | #define __ARCH_WANT_KERNEL_EXECVE | 19 | #define __ARCH_WANT_KERNEL_EXECVE |
20 | #define __ARCH_WANT_SYS_EXECVE | ||
20 | 21 | ||
21 | /* Use the standard ABI for syscalls. */ | 22 | /* Use the standard ABI for syscalls. */ |
22 | #include <asm-generic/unistd.h> | 23 | #include <asm-generic/unistd.h> |