aboutsummaryrefslogtreecommitdiffstats
path: root/arch/xtensa/kernel/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/xtensa/kernel/process.c')
-rw-r--r--arch/xtensa/kernel/process.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/arch/xtensa/kernel/process.c b/arch/xtensa/kernel/process.c
index 09ae7bfab9a7..1accf28da5f5 100644
--- a/arch/xtensa/kernel/process.c
+++ b/arch/xtensa/kernel/process.c
@@ -199,8 +199,7 @@ int arch_dup_task_struct(struct task_struct *dst, struct task_struct *src)
199 */ 199 */
200 200
201int copy_thread(unsigned long clone_flags, unsigned long usp_thread_fn, 201int copy_thread(unsigned long clone_flags, unsigned long usp_thread_fn,
202 unsigned long thread_fn_arg, 202 unsigned long thread_fn_arg, struct task_struct *p)
203 struct task_struct *p, struct pt_regs *unused)
204{ 203{
205 struct pt_regs *childregs = task_pt_regs(p); 204 struct pt_regs *childregs = task_pt_regs(p);
206 205
@@ -364,12 +363,3 @@ int dump_fpu(void)
364{ 363{
365 return 0; 364 return 0;
366} 365}
367
368asmlinkage
369long xtensa_clone(unsigned long clone_flags, unsigned long newsp,
370 void __user *parent_tid, void *child_tls,
371 void __user *child_tid, long a5,
372 struct pt_regs *regs)
373{
374 return do_fork(clone_flags, newsp, regs, 0, parent_tid, child_tid);
375}