diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2006-02-08 14:38:18 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2006-02-08 18:52:25 +0100 |
commit | 40ac5d479b7deb98f6ccc4a7a29ee62dba7a798f (patch) | |
tree | a73e16545a2653c5737526f44e77752425d27430 /arch/mips/kernel/signal.c | |
parent | [MIPS] Add support for TIF_RESTORE_SIGMASK. (diff) | |
download | linux-40ac5d479b7deb98f6ccc4a7a29ee62dba7a798f.tar.xz linux-40ac5d479b7deb98f6ccc4a7a29ee62dba7a798f.zip |
[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 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, 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; } /* |