Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 81759
b: refs/heads/master
c: d2f60e5
h: refs/heads/master
i:
  81757: 940fcf5
  81755: 6b9d516
  81751: 8738e36
  81743: 3d8a447
  81727: 9ceac4d
v: v3
  • Loading branch information
Matthew Wilcox authored and Matthew Wilcox committed Dec 6, 2007
1 parent 7d1060a commit ec6fe2a
Show file tree
Hide file tree
Showing 2 changed files with 4 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: e64d66c8edf11629aa203328daf898775ee27dd4
refs/heads/master: d2f60e5faa9aef9a08d0abaee2007e5a0800d2c5
6 changes: 3 additions & 3 deletions trunk/kernel/power/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ static void fake_signal_wake_up(struct task_struct *p, int resume)

static void send_fake_signal(struct task_struct *p)
{
if (p->state == TASK_STOPPED)
if (task_is_stopped(p))
force_sig_specific(SIGSTOP, p);
fake_signal_wake_up(p, p->state == TASK_STOPPED);
fake_signal_wake_up(p, task_is_stopped(p));
}

static int has_mm(struct task_struct *p)
Expand Down Expand Up @@ -182,7 +182,7 @@ static int try_to_freeze_tasks(int freeze_user_space)
if (frozen(p) || !freezeable(p))
continue;

if (p->state == TASK_TRACED && frozen(p->parent)) {
if (task_is_traced(p) && frozen(p->parent)) {
cancel_freezing(p);
continue;
}
Expand Down

0 comments on commit ec6fe2a

Please sign in to comment.