summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/signal32.c
diff options
context:
space:
mode:
authorMartin Michlmayr <tbm@cyrius.com>2006-02-18 16:21:30 +0100
committerRalf Baechle <ralf@linux-mips.org>2006-02-21 17:58:22 +0100
commitdda73d0bb1d358e4337d2c4da9c61903873664cf (patch)
tree7e4bdd49287519899769aa40c5e2b011d401b704 /arch/mips/kernel/signal32.c
parent[MIPS] Add support for TIF_RESTORE_SIGMASK for signal32 (diff)
downloadlinux-dda73d0bb1d358e4337d2c4da9c61903873664cf.tar.xz
linux-dda73d0bb1d358e4337d2c4da9c61903873664cf.zip
[MIPS] Make do_signal32 return void.
do_signal has been changed to return void since the "return value is ignored everywhere". Convert do_signal32 accordingly. Signed-off-by: Martin Michlmayr <tbm@cyrius.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/signal32.c')
-rw-r--r--arch/mips/kernel/signal32.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/mips/kernel/signal32.c b/arch/mips/kernel/signal32.c
index c07019575214..118a0a9d9a25 100644
--- a/arch/mips/kernel/signal32.c
+++ b/arch/mips/kernel/signal32.c
@@ -4,7 +4,7 @@
* for more details.
*
* Copyright (C) 1991, 1992 Linus Torvalds
- * Copyright (C) 1994 - 2000 Ralf Baechle
+ * Copyright (C) 1994 - 2000, 2006 Ralf Baechle
* Copyright (C) 1999, 2000 Silicon Graphics, Inc.
*/
#include <linux/cache.h>
@@ -800,7 +800,7 @@ static inline int handle_signal(unsigned long sig, siginfo_t *info,
return ret;
}
-int do_signal32(struct pt_regs *regs)
+void do_signal32(struct pt_regs *regs)
{
struct k_sigaction ka;
sigset_t *oldset;
@@ -813,7 +813,7 @@ int do_signal32(struct pt_regs *regs)
* if so.
*/
if (!user_mode(regs))
- return 1;
+ return;
if (try_to_freeze())
goto no_signal;
@@ -866,8 +866,6 @@ no_signal:
clear_thread_flag(TIF_RESTORE_SIGMASK);
sigprocmask(SIG_SETMASK, &current->saved_sigmask, NULL);
}
-
- return 0;
}
asmlinkage int sys32_rt_sigaction(int sig, const struct sigaction32 *act,