diff options
Diffstat (limited to 'arch/v850/kernel/process.c')
-rw-r--r-- | arch/v850/kernel/process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/v850/kernel/process.c b/arch/v850/kernel/process.c index 062ffa0a9998..eb909937958b 100644 --- a/arch/v850/kernel/process.c +++ b/arch/v850/kernel/process.c @@ -114,7 +114,7 @@ int copy_thread (int nr, unsigned long clone_flags, struct task_struct *p, struct pt_regs *regs) { /* Start pushing stuff from the top of the child's kernel stack. */ - unsigned long orig_ksp = (unsigned long)p->thread_info + THREAD_SIZE; + unsigned long orig_ksp = task_tos(p); unsigned long ksp = orig_ksp; /* We push two `state save' stack fames (see entry.S) on the new kernel stack: |