[PATCH] h8300: task_stack_page()

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>

authored by Al Viro and committed by Linus Torvalds 68f8b1f8 40f1f0de

+1 -1
+1 -1
arch/h8300/kernel/process.c
··· 195 195 { 196 196 struct pt_regs * childregs; 197 197 198 - childregs = ((struct pt_regs *) (THREAD_SIZE + (unsigned long) p->thread_info)) - 1; 198 + childregs = (struct pt_regs *) (THREAD_SIZE + task_stack_page(p)) - 1; 199 199 200 200 *childregs = *regs; 201 201 childregs->retpc = (unsigned long) ret_from_fork;