aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/kernel/process.c')
-rw-r--r--arch/mips/kernel/process.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/kernel/process.c b/arch/mips/kernel/process.c
index d13720ac656f..38097652d62d 100644
--- a/arch/mips/kernel/process.c
+++ b/arch/mips/kernel/process.c
@@ -114,10 +114,10 @@ void flush_thread(void)
114} 114}
115 115
116int copy_thread(unsigned long clone_flags, unsigned long usp, 116int copy_thread(unsigned long clone_flags, unsigned long usp,
117 unsigned long arg, struct task_struct *p, struct pt_regs *regs) 117 unsigned long arg, struct task_struct *p)
118{ 118{
119 struct thread_info *ti = task_thread_info(p); 119 struct thread_info *ti = task_thread_info(p);
120 struct pt_regs *childregs; 120 struct pt_regs *childregs, *regs = current_pt_regs();
121 unsigned long childksp; 121 unsigned long childksp;
122 p->set_child_tid = p->clear_child_tid = NULL; 122 p->set_child_tid = p->clear_child_tid = NULL;
123 123