Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
These changes are a raw update to a vanilla kernel 4.1.10, with the
[kvmfornfv.git]
/
kernel
/
arch
/
arm64
/
kernel
/
fpsimd.c
diff --git
a/kernel/arch/arm64/kernel/fpsimd.c
b/kernel/arch/arm64/kernel/fpsimd.c
index
3dca156
..
c31e59f
100644
(file)
--- a/
kernel/arch/arm64/kernel/fpsimd.c
+++ b/
kernel/arch/arm64/kernel/fpsimd.c
@@
-157,6
+157,7
@@
void fpsimd_thread_switch(struct task_struct *next)
void fpsimd_flush_thread(void)
{
memset(¤t->thread.fpsimd_state, 0, sizeof(struct fpsimd_state));
+ fpsimd_flush_task_state(current);
set_thread_flag(TIF_FOREIGN_FPSTATE);
}