diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2006-02-08 13:38:18 (GMT) |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2006-02-08 17:52:25 (GMT) |
commit | 40ac5d479b7deb98f6ccc4a7a29ee62dba7a798f (patch) | |
tree | a73e16545a2653c5737526f44e77752425d27430 /arch/mips/kernel/signal.c | |
parent | 7b3e2fc847c8325a7b35185fa1fc2f1729ed9c5b (diff) | |
download | linux-40ac5d479b7deb98f6ccc4a7a29ee62dba7a798f.tar.xz |
[MIPS] Make do_signal return void.
It's return value is ignored everywhere.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
---
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 86a14d7..c974cc9 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, return ret; } -int do_signal(struct pt_regs *regs) +void do_signal(struct pt_regs *regs) { struct k_sigaction ka; sigset_t *oldset; @@ -423,7 +423,7 @@ int do_signal(struct pt_regs *regs) * if so. */ if (!user_mode(regs)) - return 1; + return; if (try_to_freeze()) goto no_signal; @@ -477,8 +477,6 @@ no_signal: clear_thread_flag(TIF_RESTORE_SIGMASK); sigprocmask(SIG_SETMASK, ¤t->saved_sigmask, NULL); } - - return 0; } /* |