]> err.no Git - linux-2.6/commitdiff
[MIPS] fix wrong __user usage in _sysn32_rt_sigsuspend
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Mon, 20 Feb 2006 16:27:59 +0000 (01:27 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 21 Mar 2006 13:27:46 +0000 (13:27 +0000)
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/signal_n32.c

index 220e6deb3aa4714e11d7e8206fc9eb5a60498d4c..477c5334ec1b459eefb010c9ef5918ca1358b47b 100644 (file)
@@ -87,7 +87,8 @@ save_static_function(sysn32_rt_sigsuspend);
 __attribute_used__ noinline static int
 _sysn32_rt_sigsuspend(nabi_no_regargs struct pt_regs regs)
 {
-       compat_sigset_t __user *unewset, uset;
+       compat_sigset_t __user *unewset;
+       compat_sigset_t uset;
        size_t sigsetsize;
        sigset_t newset;