diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-10-22 22:49:03 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-11-28 23:43:40 -0500 |
commit | cb56217362d87159b683175247d8d059df80aefa (patch) | |
tree | 1d2889e6b854efb4ddea4b0861cdc14d7b4e8741 /arch/unicore32/kernel/sys.c | |
parent | eda96977024c84e677191cad785351abbb945901 (diff) |
unicore32: switch to generic clone(2)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/unicore32/kernel/sys.c')
-rw-r--r-- | arch/unicore32/kernel/sys.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/unicore32/kernel/sys.c b/arch/unicore32/kernel/sys.c index 9680134b31f0..cfe79c9529b3 100644 --- a/arch/unicore32/kernel/sys.c +++ b/arch/unicore32/kernel/sys.c | |||
@@ -28,20 +28,6 @@ | |||
28 | #include <asm/syscalls.h> | 28 | #include <asm/syscalls.h> |
29 | #include <asm/cacheflush.h> | 29 | #include <asm/cacheflush.h> |
30 | 30 | ||
31 | /* Clone a task - this clones the calling program thread. | ||
32 | * This is called indirectly via a small wrapper | ||
33 | */ | ||
34 | asmlinkage long __sys_clone(unsigned long clone_flags, unsigned long newsp, | ||
35 | void __user *parent_tid, void __user *child_tid, | ||
36 | struct pt_regs *regs) | ||
37 | { | ||
38 | if (!newsp) | ||
39 | newsp = regs->UCreg_sp; | ||
40 | |||
41 | return do_fork(clone_flags, newsp, regs, 0, | ||
42 | parent_tid, child_tid); | ||
43 | } | ||
44 | |||
45 | /* Note: used by the compat code even in 64-bit Linux. */ | 31 | /* Note: used by the compat code even in 64-bit Linux. */ |
46 | SYSCALL_DEFINE6(mmap2, unsigned long, addr, unsigned long, len, | 32 | SYSCALL_DEFINE6(mmap2, unsigned long, addr, unsigned long, len, |
47 | unsigned long, prot, unsigned long, flags, | 33 | unsigned long, prot, unsigned long, flags, |