Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 18082
b: refs/heads/master
c: 68f8b1f
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro authored and Linus Torvalds committed Jan 12, 2006
1 parent e7a2939 commit cc2b22c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 40f1f0deaff90b78b81dbba109bfa1cef241ec16
refs/heads/master: 68f8b1f8f113fcbc8d8e835f174b97cdaf96af20
2 changes: 1 addition & 1 deletion trunk/arch/h8300/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit cc2b22c

Please sign in to comment.