diff options
Diffstat (limited to 'kernel/freezer.c')
-rw-r--r-- | kernel/freezer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/freezer.c b/kernel/freezer.c index f53cd5aa5b2e..95a123844241 100644 --- a/kernel/freezer.c +++ b/kernel/freezer.c | |||
@@ -132,7 +132,7 @@ bool freeze_task(struct task_struct *p, bool sig_only) | |||
132 | return false; | 132 | return false; |
133 | } | 133 | } |
134 | 134 | ||
135 | if (should_send_signal(p)) { | 135 | if (!(p->flags & PF_FREEZER_NOSIG)) { |
136 | fake_signal_wake_up(p); | 136 | fake_signal_wake_up(p); |
137 | /* | 137 | /* |
138 | * fake_signal_wake_up() goes through p's scheduler | 138 | * fake_signal_wake_up() goes through p's scheduler |