Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 54542
b: refs/heads/master
c: 1065d13
h: refs/heads/master
v: v3
  • Loading branch information
Oleg Nesterov authored and Linus Torvalds committed May 8, 2007
1 parent e0948c3 commit be2ecdd
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: fca3b747795ae24f9667b6c9a69975f9eb98a2c0
refs/heads/master: 1065d130dddc3241706c50a01ced7b03bcb657be
5 changes: 2 additions & 3 deletions trunk/kernel/power/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,9 @@

static inline int freezeable(struct task_struct * p)
{
if ((p == current) ||
if ((p == current) ||
(p->flags & PF_NOFREEZE) ||
(p->exit_state == EXIT_ZOMBIE) ||
(p->exit_state == EXIT_DEAD))
(p->exit_state != 0))
return 0;
return 1;
}
Expand Down

0 comments on commit be2ecdd

Please sign in to comment.