we need to do the set_fs(KERNEL_DS) thing around this call.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
 _sys32_rt_sigreturn(nabi_no_regargs struct pt_regs regs)
 {
        struct rt_sigframe32 *frame;
+       mm_segment_t old_fs;
        sigset_t set;
        stack_t st;
        s32 sp;
 
        /* It is more difficult to avoid calling this function than to
           call it and ignore errors.  */
+       old_fs = get_fs();
+       set_fs (KERNEL_DS);
        do_sigaltstack(&st, NULL, regs.regs[29]);
+       set_fs (old_fs);
 
        /*
         * Don't let your children do this ...