Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 340319
b: refs/heads/master
c: ab75819
h: refs/heads/master
i:
  340317: 31e5e69
  340315: 9c01d99
  340311: 8bfdb4b
  340303: 3bbd355
  340287: ffdbc6b
v: v3
  • Loading branch information
Al Viro committed Oct 22, 2012
1 parent 3996729 commit bd45fc2
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: ea516b11545afa5b1420621981c1411a62bef87e
refs/heads/master: ab75819d3942a34d151a34fd43f346d5d8a48148
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,7 @@ int copy_thread(unsigned long clone_flags, unsigned long usp,
/* Copy registers */
sp -= sizeof(struct pt_regs);
childregs = (struct pt_regs *) sp;
if (!regs) {
if (unlikely(p->flags & PF_KTHREAD)) {
struct thread_info *ti = (void *)task_stack_page(p);
memset(childregs, 0, sizeof(struct pt_regs));
childregs->gpr[1] = sp + sizeof(struct pt_regs);
Expand Down

0 comments on commit bd45fc2

Please sign in to comment.