summaryrefslogtreecommitdiff
path: root/arch/sparc/include
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-09-29 22:49:48 +0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-10-17 03:03:53 +0400
commitf7200d4c504a385b1b70f3bab379f99745f7ef6a (patch)
treedfdf424a9f4fc80d502e2afc7defe03565939abe /arch/sparc/include
parentab3486813bbbd9e74efb4c130183f3994dada4bd (diff)
downloadlinux-f7200d4c504a385b1b70f3bab379f99745f7ef6a.tar.xz
sparc32: switch to generic sys_execve()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/sparc/include')
-rw-r--r--arch/sparc/include/asm/syscalls.h4
-rw-r--r--arch/sparc/include/asm/unistd.h2
2 files changed, 1 insertions, 5 deletions
diff --git a/arch/sparc/include/asm/syscalls.h b/arch/sparc/include/asm/syscalls.h
index 4b05df397740..bf8972adea17 100644
--- a/arch/sparc/include/asm/syscalls.h
+++ b/arch/sparc/include/asm/syscalls.h
@@ -8,8 +8,4 @@ extern asmlinkage long sparc_do_fork(unsigned long clone_flags,
struct pt_regs *regs,
unsigned long stack_size);
-#ifndef __arch64__
-extern asmlinkage int sparc_execve(struct pt_regs *regs);
-#endif
-
#endif /* _SPARC64_SYSCALLS_H */
diff --git a/arch/sparc/include/asm/unistd.h b/arch/sparc/include/asm/unistd.h
index 32bd0aaeedfa..c3e5d8b64171 100644
--- a/arch/sparc/include/asm/unistd.h
+++ b/arch/sparc/include/asm/unistd.h
@@ -45,8 +45,8 @@
#define __ARCH_WANT_COMPAT_SYS_TIME
#define __ARCH_WANT_COMPAT_SYS_RT_SIGSUSPEND
#define __ARCH_WANT_COMPAT_SYS_SENDFILE
-#define __ARCH_WANT_SYS_EXECVE
#endif
+#define __ARCH_WANT_SYS_EXECVE
/*
* "Conditional" syscalls