summaryrefslogtreecommitdiffstats
path: root/arch/tile
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-10-27 05:36:42 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2012-11-29 04:46:37 +0100
commite9eac30418dbbe51217a7c91906d349f9f4658e1 (patch)
tree3e51b8c0fdd4a6ec870a2d1eef755d0fe5583de6 /arch/tile
parentm68k: sanitize copy_thread(), fork/vfork/clone wrappers, switch to generic fo... (diff)
downloadlinux-e9eac30418dbbe51217a7c91906d349f9f4658e1.tar.xz
linux-e9eac30418dbbe51217a7c91906d349f9f4658e1.zip
tile: switch to generic clone()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/tile')
-rw-r--r--arch/tile/include/asm/unistd.h1
-rw-r--r--arch/tile/kernel/process.c8
2 files changed, 1 insertions, 8 deletions
diff --git a/arch/tile/include/asm/unistd.h b/arch/tile/include/asm/unistd.h
index dab827dc8acb..b51c6ee3cd6c 100644
--- a/arch/tile/include/asm/unistd.h
+++ b/arch/tile/include/asm/unistd.h
@@ -17,4 +17,5 @@
#endif
#define __ARCH_WANT_SYS_NEWFSTATAT
#define __ARCH_WANT_SYS_EXECVE
+#define __ARCH_WANT_SYS_CLONE
#include <uapi/asm/unistd.h>
diff --git a/arch/tile/kernel/process.c b/arch/tile/kernel/process.c
index 1c20029d2f5a..267936b51b59 100644
--- a/arch/tile/kernel/process.c
+++ b/arch/tile/kernel/process.c
@@ -584,14 +584,6 @@ int do_work_pending(struct pt_regs *regs, u32 thread_info_flags)
panic("work_pending: bad flags %#x\n", thread_info_flags);
}
-/* Note there is an implicit fifth argument if (clone_flags & CLONE_SETTLS). */
-SYSCALL_DEFINE4(clone, unsigned long, clone_flags, unsigned long, newsp,
- void __user *, parent_tidptr, void __user *, child_tidptr)
-{
- return do_fork(clone_flags, newsp, current_pt_regs(), 0,
- parent_tidptr, child_tidptr);
-}
-
unsigned long get_wchan(struct task_struct *p)
{
struct KBacktraceIterator kbt;