diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2006-02-20 11:27:59 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2006-03-21 08:27:46 -0500 |
commit | b1bcb362d921f5e46a3bec0c7a73c32abfe74db2 (patch) | |
tree | 29b0b689886a3cb6ece801eac5b15da08dc2f489 | |
parent | 9c6031cc93626a194a9ef32d62b078ef1b396c45 (diff) |
[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>
-rw-r--r-- | arch/mips/kernel/signal_n32.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/kernel/signal_n32.c b/arch/mips/kernel/signal_n32.c index 220e6deb3aa4..477c5334ec1b 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); | |||
87 | __attribute_used__ noinline static int | 87 | __attribute_used__ noinline static int |
88 | _sysn32_rt_sigsuspend(nabi_no_regargs struct pt_regs regs) | 88 | _sysn32_rt_sigsuspend(nabi_no_regargs struct pt_regs regs) |
89 | { | 89 | { |
90 | compat_sigset_t __user *unewset, uset; | 90 | compat_sigset_t __user *unewset; |
91 | compat_sigset_t uset; | ||
91 | size_t sigsetsize; | 92 | size_t sigsetsize; |
92 | sigset_t newset; | 93 | sigset_t newset; |
93 | 94 | ||