flagday: don't pass regs to copy_thread()
[deliverable/linux.git] / arch / sh / kernel / process_64.c
index d5c86a8a3849eda6a1f018b04e60a99d117c6f21..e611c85144b1753b3871c125a0ed9d5ee1498900 100644 (file)
@@ -371,10 +371,9 @@ asmlinkage void ret_from_fork(void);
 asmlinkage void ret_from_kernel_thread(void);
 
 int copy_thread(unsigned long clone_flags, unsigned long usp,
-               unsigned long arg,
-               struct task_struct *p, struct pt_regs *regs)
+               unsigned long arg, struct task_struct *p)
 {
-       struct pt_regs *childregs;
+       struct pt_regs *childregs, *regs = current_pt_regs();
 
 #ifdef CONFIG_SH_FPU
        /* can't happen for a kernel thread */
This page took 0.024089 seconds and 5 git commands to generate.