x86/fpu: Pass 'struct fpu' to fpu__restore()
[deliverable/linux.git] / drivers / lguest / x86 / core.c
index 99bb3009e2d5f1b7ab5dc48d824707d97828c532..6a4cd771a2be62b4172cc26a178ca85fbf7e6d27 100644 (file)
@@ -302,7 +302,7 @@ void lguest_arch_run_guest(struct lg_cpu *cpu)
         * before this.
         */
        else if (cpu->regs->trapnum == 7 && !fpregs_active())
-               fpu__restore();
+               fpu__restore(&current->thread.fpu);
 }
 
 /*H:130
This page took 0.031402 seconds and 5 git commands to generate.