diff --git a/Kernel/Arch/i386/CPU.cpp b/Kernel/Arch/i386/CPU.cpp index a890ede4dd..a7e4d112f5 100644 --- a/Kernel/Arch/i386/CPU.cpp +++ b/Kernel/Arch/i386/CPU.cpp @@ -222,7 +222,7 @@ void exception_7_handler(RegisterDump& regs) } else { asm volatile("fninit"); asm volatile("fxsave %0" - : "=m"(g_last_fpu_thread->fpu_state())); + : "=m"(current->fpu_state())); current->set_has_used_fpu(true); }