diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-10-18 00:55:54 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-10-22 18:14:17 -0400 |
commit | e0fd18ce1169595df929373cad2ae9b00b2289c2 (patch) | |
tree | ce64180c3935d636de9bac9fbf63d27a0d4d7876 /arch/arm64/include/asm/syscalls.h | |
parent | 6a872777ffff6184f4ac10bd71d926d5e6f2491e (diff) | |
download | linux-e0fd18ce1169595df929373cad2ae9b00b2289c2.tar.gz linux-e0fd18ce1169595df929373cad2ae9b00b2289c2.tar.bz2 linux-e0fd18ce1169595df929373cad2ae9b00b2289c2.zip |
arm64: get rid of fork/vfork/clone wrappers
[fixes from Catalin Marinas folded]
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Tested-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/arm64/include/asm/syscalls.h')
-rw-r--r-- | arch/arm64/include/asm/syscalls.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/arch/arm64/include/asm/syscalls.h b/arch/arm64/include/asm/syscalls.h index 81680a0ae913..a1b00cd6f786 100644 --- a/arch/arm64/include/asm/syscalls.h +++ b/arch/arm64/include/asm/syscalls.h @@ -23,15 +23,16 @@ /* * System call wrappers implemented in kernel/entry.S. */ -asmlinkage long sys_clone_wrapper(unsigned long clone_flags, - unsigned long newsp, - void __user *parent_tid, - unsigned long tls_val, - void __user *child_tid); asmlinkage long sys_rt_sigreturn_wrapper(void); asmlinkage long sys_sigaltstack_wrapper(const stack_t __user *uss, stack_t __user *uoss); +/* + * AArch64 sys_clone implementation has a different prototype than the generic + * one (additional TLS value argument). + */ +#define sys_clone sys_clone + #include <asm-generic/syscalls.h> #endif /* __ASM_SYSCALLS_H */ |