]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/um/sys-i386/signal.c
[PATCH] uml: move LDT creation
[karo-tx-linux.git] / arch / um / sys-i386 / signal.c
index 4efc69a039d70022592cec5430a46a1c9a08c826..7cd1a82dc8c24fd086cd8c3e3a82ef6433640673 100644 (file)
@@ -10,7 +10,6 @@
 #include "asm/uaccess.h"
 #include "asm/unistd.h"
 #include "frame_kern.h"
-#include "signal_user.h"
 #include "sigcontext.h"
 #include "registers.h"
 #include "mode.h"
@@ -122,9 +121,9 @@ int copy_sc_from_user_tt(struct sigcontext *to, struct sigcontext *from,
        int err;
 
        to_fp = to->fpstate;
-       from_fp = from->fpstate;
        sigs = to->oldmask;
        err = copy_from_user(to, from, sizeof(*to));
+       from_fp = to->fpstate;
        to->oldmask = sigs;
        to->fpstate = to_fp;
        if(to_fp != NULL)