diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/tile/include/asm/unistd.h | 1 | ||||
-rw-r--r-- | arch/tile/kernel/process.c | 8 |
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 @@ | |||
17 | #endif | 17 | #endif |
18 | #define __ARCH_WANT_SYS_NEWFSTATAT | 18 | #define __ARCH_WANT_SYS_NEWFSTATAT |
19 | #define __ARCH_WANT_SYS_EXECVE | 19 | #define __ARCH_WANT_SYS_EXECVE |
20 | #define __ARCH_WANT_SYS_CLONE | ||
20 | #include <uapi/asm/unistd.h> | 21 | #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) | |||
584 | panic("work_pending: bad flags %#x\n", thread_info_flags); | 584 | panic("work_pending: bad flags %#x\n", thread_info_flags); |
585 | } | 585 | } |
586 | 586 | ||
587 | /* Note there is an implicit fifth argument if (clone_flags & CLONE_SETTLS). */ | ||
588 | SYSCALL_DEFINE4(clone, unsigned long, clone_flags, unsigned long, newsp, | ||
589 | void __user *, parent_tidptr, void __user *, child_tidptr) | ||
590 | { | ||
591 | return do_fork(clone_flags, newsp, current_pt_regs(), 0, | ||
592 | parent_tidptr, child_tidptr); | ||
593 | } | ||
594 | |||
595 | unsigned long get_wchan(struct task_struct *p) | 587 | unsigned long get_wchan(struct task_struct *p) |
596 | { | 588 | { |
597 | struct KBacktraceIterator kbt; | 589 | struct KBacktraceIterator kbt; |