]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/um/sys-i386/signal.c
proc: remove remnants of ->read_proc in proc_misc.c
[linux-2.6-omap-h63xx.git] / arch / um / sys-i386 / signal.c
index fd0c25ad6af3ecdbd03be96d1a9ee142ec8560e2..129647375a6ccfb7f61910f0c8543ed9053f7480 100644 (file)
@@ -179,7 +179,8 @@ static int copy_sc_from_user(struct pt_regs *regs,
        if (have_fpx_regs) {
                struct user_fxsr_struct fpx;
 
-               err = copy_from_user(&fpx, &sc.fpstate->_fxsr_env[0],
+               err = copy_from_user(&fpx,
+                       &((struct _fpstate __user *)sc.fpstate)->_fxsr_env[0],
                                     sizeof(struct user_fxsr_struct));
                if (err)
                        return 1;