diff options
Diffstat (limited to 'arch/mips/kernel/signal.c')
-rw-r--r-- | arch/mips/kernel/signal.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/mips/kernel/signal.c b/arch/mips/kernel/signal.c index 86a14d7b8534..c974cc9b30eb 100644 --- a/arch/mips/kernel/signal.c +++ b/arch/mips/kernel/signal.c | |||
@@ -410,7 +410,7 @@ static inline int handle_signal(unsigned long sig, siginfo_t *info, | |||
410 | return ret; | 410 | return ret; |
411 | } | 411 | } |
412 | 412 | ||
413 | int do_signal(struct pt_regs *regs) | 413 | void do_signal(struct pt_regs *regs) |
414 | { | 414 | { |
415 | struct k_sigaction ka; | 415 | struct k_sigaction ka; |
416 | sigset_t *oldset; | 416 | sigset_t *oldset; |
@@ -423,7 +423,7 @@ int do_signal(struct pt_regs *regs) | |||
423 | * if so. | 423 | * if so. |
424 | */ | 424 | */ |
425 | if (!user_mode(regs)) | 425 | if (!user_mode(regs)) |
426 | return 1; | 426 | return; |
427 | 427 | ||
428 | if (try_to_freeze()) | 428 | if (try_to_freeze()) |
429 | goto no_signal; | 429 | goto no_signal; |
@@ -477,8 +477,6 @@ no_signal: | |||
477 | clear_thread_flag(TIF_RESTORE_SIGMASK); | 477 | clear_thread_flag(TIF_RESTORE_SIGMASK); |
478 | sigprocmask(SIG_SETMASK, ¤t->saved_sigmask, NULL); | 478 | sigprocmask(SIG_SETMASK, ¤t->saved_sigmask, NULL); |
479 | } | 479 | } |
480 | |||
481 | return 0; | ||
482 | } | 480 | } |
483 | 481 | ||
484 | /* | 482 | /* |