projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86/fpu: Pass 'struct fpu' to fpu__restore()
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
lguest
/
x86
/
core.c
diff --git
a/drivers/lguest/x86/core.c
b/drivers/lguest/x86/core.c
index 99bb3009e2d5f1b7ab5dc48d824707d97828c532..6a4cd771a2be62b4172cc26a178ca85fbf7e6d27 100644
(file)
--- a/
drivers/lguest/x86/core.c
+++ b/
drivers/lguest/x86/core.c
@@
-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(
¤t->thread.fpu
);
}
/*H:130