Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 18078
b: refs/heads/master
c: 097cb33
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro authored and Linus Torvalds committed Jan 12, 2006
1 parent d63d8e9 commit 9393861
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 6c3559fc458e3ed171d7a8bf6a6d7eaea1e7b2e5
refs/heads/master: 097cb338c72b4916d8221278caba63d74d9f19d6
4 changes: 2 additions & 2 deletions trunk/arch/frv/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ int copy_thread(int nr, unsigned long clone_flags,

regs0 = __kernel_frame0_ptr;
childregs0 = (struct pt_regs *)
((unsigned long) p->thread_info + THREAD_SIZE - USER_CONTEXT_SIZE);
(task_stack_page(p) + THREAD_SIZE - USER_CONTEXT_SIZE);
childregs = childregs0;

/* set up the userspace frame (the only place that the USP is stored) */
Expand All @@ -220,7 +220,7 @@ int copy_thread(int nr, unsigned long clone_flags,
*childregs = *regs;
childregs->sp = (unsigned long) childregs0;
childregs->next_frame = childregs0;
childregs->gr15 = (unsigned long) p->thread_info;
childregs->gr15 = (unsigned long) task_thread_info(p);
childregs->gr29 = (unsigned long) p;
}

Expand Down

0 comments on commit 9393861

Please sign in to comment.