diff options
Diffstat (limited to 'kernel/power')
-rw-r--r-- | kernel/power/process.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/power/process.c b/kernel/power/process.c index cba8a5890ed..1badb9a89ad 100644 --- a/kernel/power/process.c +++ b/kernel/power/process.c @@ -97,7 +97,9 @@ int freeze_processes(void) continue; if (frozen(p)) continue; - if (p->state == TASK_TRACED && frozen(p->parent)) { + if (p->state == TASK_TRACED && + (frozen(p->parent) || + p->parent->state == TASK_STOPPED)) { cancel_freezing(p); continue; } |