Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 56864
b: refs/heads/master
c: 49b12d4
h: refs/heads/master
v: v3
  • Loading branch information
Rafael J. Wysocki authored and Linus Torvalds committed May 24, 2007
1 parent 7ac0d8f commit ab969ae
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: ba96a0c88098697a63e80157718b7440414ed24d
refs/heads/master: 49b12d4f5e274517b8bc032d507abf31cc2f4150
4 changes: 2 additions & 2 deletions trunk/kernel/power/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ static unsigned int try_to_freeze_tasks(int freeze_user_space)
cancel_freezing(p);
continue;
}
if (is_user_space(p) == !freeze_user_space)
if (freeze_user_space && !is_user_space(p))
continue;

freeze_process(p);
Expand All @@ -147,7 +147,7 @@ static unsigned int try_to_freeze_tasks(int freeze_user_space)
TIMEOUT / HZ, todo);
read_lock(&tasklist_lock);
do_each_thread(g, p) {
if (is_user_space(p) == !freeze_user_space)
if (freeze_user_space && !is_user_space(p))
continue;

task_lock(p);
Expand Down

0 comments on commit ab969ae

Please sign in to comment.