Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 41081
b: refs/heads/master
c: 753ca4f
h: refs/heads/master
i:
  41079: 7bf53b9
v: v3
  • Loading branch information
Akinobu Mita authored and Linus Torvalds committed Nov 25, 2006
1 parent eb2193d commit 9b2bdcf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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: a1b26c32af51d0fd82754bc06b495dd03c2f2d58
refs/heads/master: 753ca4f312a4b26940e4731b4fa5dbbbbcc77e97
5 changes: 2 additions & 3 deletions trunk/kernel/fork.c
Original file line number Diff line number Diff line change
Expand Up @@ -1315,9 +1315,8 @@ struct task_struct * __devinit fork_idle(int cpu)
struct pt_regs regs;

task = copy_process(CLONE_VM, 0, idle_regs(&regs), 0, NULL, NULL, 0);
if (!task)
return ERR_PTR(-ENOMEM);
init_idle(task, cpu);
if (!IS_ERR(task))
init_idle(task, cpu);

return task;
}
Expand Down

0 comments on commit 9b2bdcf

Please sign in to comment.