summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/signal_n32.c
diff options
context:
space:
mode:
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>2006-02-21 01:27:59 +0900
committerRalf Baechle <ralf@linux-mips.org>2006-03-21 13:27:46 +0000
commitb1bcb362d921f5e46a3bec0c7a73c32abfe74db2 (patch)
tree29b0b689886a3cb6ece801eac5b15da08dc2f489 /arch/mips/kernel/signal_n32.c
parent9c6031cc93626a194a9ef32d62b078ef1b396c45 (diff)
downloadop-kernel-dev-b1bcb362d921f5e46a3bec0c7a73c32abfe74db2.zip
op-kernel-dev-b1bcb362d921f5e46a3bec0c7a73c32abfe74db2.tar.gz
[MIPS] fix wrong __user usage in _sysn32_rt_sigsuspend
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/signal_n32.c')
-rw-r--r--arch/mips/kernel/signal_n32.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/kernel/signal_n32.c b/arch/mips/kernel/signal_n32.c
index 220e6de..477c533 100644
--- a/arch/mips/kernel/signal_n32.c
+++ b/arch/mips/kernel/signal_n32.c
@@ -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;
OpenPOWER on IntegriCloud