aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel
diff options
context:
space:
mode:
authorMartin Michlmayr <tbm@cyrius.com>2006-02-18 10:21:30 -0500
committerRalf Baechle <ralf@linux-mips.org>2006-02-21 11:58:22 -0500
commitdda73d0bb1d358e4337d2c4da9c61903873664cf (patch)
tree7e4bdd49287519899769aa40c5e2b011d401b704 /arch/mips/kernel
parent68fa383f3e58b5adf1d8089c93c83ab8d0d00e8d (diff)
[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')
-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 @@
4 * for more details. 4 * for more details.
5 * 5 *
6 * Copyright (C) 1991, 1992 Linus Torvalds 6 * Copyright (C) 1991, 1992 Linus Torvalds
7 * Copyright (C) 1994 - 2000 Ralf Baechle 7 * Copyright (C) 1994 - 2000, 2006 Ralf Baechle
8 * Copyright (C) 1999, 2000 Silicon Graphics, Inc. 8 * Copyright (C) 1999, 2000 Silicon Graphics, Inc.
9 */ 9 */
10#include <linux/cache.h> 10#include <linux/cache.h>
@@ -800,7 +800,7 @@ static inline int handle_signal(unsigned long sig, siginfo_t *info,
800 return ret; 800 return ret;
801} 801}
802 802
803int do_signal32(struct pt_regs *regs) 803void do_signal32(struct pt_regs *regs)
804{ 804{
805 struct k_sigaction ka; 805 struct k_sigaction ka;
806 sigset_t *oldset; 806 sigset_t *oldset;
@@ -813,7 +813,7 @@ int do_signal32(struct pt_regs *regs)
813 * if so. 813 * if so.
814 */ 814 */
815 if (!user_mode(regs)) 815 if (!user_mode(regs))
816 return 1; 816 return;
817 817
818 if (try_to_freeze()) 818 if (try_to_freeze())
819 goto no_signal; 819 goto no_signal;
@@ -866,8 +866,6 @@ no_signal:
866 clear_thread_flag(TIF_RESTORE_SIGMASK); 866 clear_thread_flag(TIF_RESTORE_SIGMASK);
867 sigprocmask(SIG_SETMASK, &current->saved_sigmask, NULL); 867 sigprocmask(SIG_SETMASK, &current->saved_sigmask, NULL);
868 } 868 }
869
870 return 0;
871} 869}
872 870
873asmlinkage int sys32_rt_sigaction(int sig, const struct sigaction32 *act, 871asmlinkage int sys32_rt_sigaction(int sig, const struct sigaction32 *act,