diff options
Diffstat (limited to 'arch/m32r/kernel/signal.c')
-rw-r--r-- | arch/m32r/kernel/signal.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/m32r/kernel/signal.c b/arch/m32r/kernel/signal.c index 50311eb07a24..5aef7e406ef5 100644 --- a/arch/m32r/kernel/signal.c +++ b/arch/m32r/kernel/signal.c | |||
@@ -371,10 +371,8 @@ int do_signal(struct pt_regs *regs, sigset_t *oldset) | |||
371 | if (!user_mode(regs)) | 371 | if (!user_mode(regs)) |
372 | return 1; | 372 | return 1; |
373 | 373 | ||
374 | if (current->flags & PF_FREEZE) { | 374 | if (try_to_freeze()) |
375 | refrigerator(0); | ||
376 | goto no_signal; | 375 | goto no_signal; |
377 | } | ||
378 | 376 | ||
379 | if (!oldset) | 377 | if (!oldset) |
380 | oldset = ¤t->blocked; | 378 | oldset = ¤t->blocked; |