]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/x86/kernel/traps_64.c
x86, xsave: context switch support using xsave/xrstor
[linux-2.6-omap-h63xx.git] / arch / x86 / kernel / traps_64.c
index 3580a7938a2e8e7474e61dcc92769f1013dc4f7d..38eb76156a470a576103d3ec57ebc135e1ecaf39 100644 (file)
@@ -1134,7 +1134,7 @@ asmlinkage void math_state_restore(void)
        /*
         * Paranoid restore. send a SIGSEGV if we fail to restore the state.
         */
-       if (unlikely(restore_fpu_checking(&me->thread.xstate->fxsave))) {
+       if (unlikely(restore_fpu_checking(me))) {
                stts();
                force_sig(SIGSEGV, me);
                return;