projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86/fpu: Use task_disable_lazy_fpu_restore() helper
[platform/kernel/linux-rpi.git]
/
arch
/
x86
/
kernel
/
i387.c
diff --git
a/arch/x86/kernel/i387.c
b/arch/x86/kernel/i387.c
index
f3ced6f
..
5722ab6
100644
(file)
--- a/
arch/x86/kernel/i387.c
+++ b/
arch/x86/kernel/i387.c
@@
-236,7
+236,7
@@
int init_fpu(struct task_struct *tsk)
if (tsk_used_math(tsk)) {
if (cpu_has_fpu && tsk == current)
unlazy_fpu(tsk);
- t
sk->thread.fpu.last_cpu = ~0
;
+ t
ask_disable_lazy_fpu_restore(tsk)
;
return 0;
}