aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/signal_n32.c
diff options
context:
space:
mode:
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>2006-02-19 23:46:44 +0900
committerRalf Baechle <ralf@linux-mips.org>2006-03-21 13:27:46 +0000
commit9c6031cc93626a194a9ef32d62b078ef1b396c45 (patch)
treeccc33703eb7e47193f06cbe995754efde92e658b /arch/mips/kernel/signal_n32.c
parent6254944faf5ff96b8b468457e3e2b2dcacc29fb7 (diff)
downloadkernel_samsung_smdk4412-9c6031cc93626a194a9ef32d62b078ef1b396c45.tar.gz
kernel_samsung_smdk4412-9c6031cc93626a194a9ef32d62b078ef1b396c45.tar.bz2
kernel_samsung_smdk4412-9c6031cc93626a194a9ef32d62b078ef1b396c45.zip
[MIPS] Signal cleanup
Move function prototypes to asm/signal.h to detect trivial errors and add some __user tags to get rid of sparse warnings. Generated code should not be changed. 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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/signal_n32.c b/arch/mips/kernel/signal_n32.c
index 3e168c08a3a..220e6deb3aa 100644
--- a/arch/mips/kernel/signal_n32.c
+++ b/arch/mips/kernel/signal_n32.c
@@ -141,7 +141,7 @@ _sysn32_rt_sigreturn(nabi_no_regargs struct pt_regs regs)
/* The ucontext contains a stack32_t, so we must convert! */
if (__get_user(sp, &frame->rs_uc.uc_stack.ss_sp))
goto badframe;
- st.ss_sp = (void *)(long) sp;
+ st.ss_sp = (void __user *)(long) sp;
if (__get_user(st.ss_size, &frame->rs_uc.uc_stack.ss_size))
goto badframe;
if (__get_user(st.ss_flags, &frame->rs_uc.uc_stack.ss_flags))