projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40f1f0d
)
[PATCH] h8300: task_stack_page()
author
Al Viro
<viro@ftp.linux.org.uk>
Thu, 12 Jan 2006 09:05:55 +0000
(
01:05
-0800)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Thu, 12 Jan 2006 17:08:55 +0000
(09:08 -0800)
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>
arch/h8300/kernel/process.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/h8300/kernel/process.c
b/arch/h8300/kernel/process.c
index 585ed5efd0f719fa5d490c6f65a7fb318dbf5550..ed79ae20e88d4a58800da6204648820bd6171666 100644
(file)
--- a/
arch/h8300/kernel/process.c
+++ b/
arch/h8300/kernel/process.c
@@
-195,7
+195,7
@@
int copy_thread(int nr, unsigned long clone_flags,
{
struct pt_regs * childregs;
- childregs = (
(struct pt_regs *) (THREAD_SIZE + (unsigned long) p->thread_info
)) - 1;
+ childregs = (
struct pt_regs *) (THREAD_SIZE + task_stack_page(p
)) - 1;
*childregs = *regs;
childregs->retpc = (unsigned long) ret_from_fork;