diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2006-01-12 04:05:51 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-12 12:08:54 -0500 |
commit | b7f6961d83d480c8636543d1d0dbb9584b878a68 (patch) | |
tree | 775880d505a3ed00e7bc72a5079183e792325d89 /arch/v850/kernel/process.c | |
parent | 04fe6faf10c310480151667e7fe3e06df4208a8e (diff) |
[PATCH] v850: task_stack_page(), task_pt_regs()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
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, | |||
114 | struct task_struct *p, struct pt_regs *regs) | 114 | struct task_struct *p, struct pt_regs *regs) |
115 | { | 115 | { |
116 | /* Start pushing stuff from the top of the child's kernel stack. */ | 116 | /* Start pushing stuff from the top of the child's kernel stack. */ |
117 | unsigned long orig_ksp = (unsigned long)p->thread_info + THREAD_SIZE; | 117 | unsigned long orig_ksp = task_tos(p); |
118 | unsigned long ksp = orig_ksp; | 118 | unsigned long ksp = orig_ksp; |
119 | /* We push two `state save' stack fames (see entry.S) on the new | 119 | /* We push two `state save' stack fames (see entry.S) on the new |
120 | kernel stack: | 120 | kernel stack: |