aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel
diff options
context:
space:
mode:
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,