diff options
author | David Hildenbrand <dahi@linux.vnet.ibm.com> | 2016-08-16 14:38:24 +0200 |
---|---|---|
committer | Christian Borntraeger <borntraeger@de.ibm.com> | 2016-08-25 17:33:24 +0200 |
commit | a7d4b8f2565ad0dfdff9a222d1d87990c73b36e8 (patch) | |
tree | 8afa0327dd723daf6ade90ac8dc8a62d38246857 /net/atm | |
parent | ba913e4f72fc9cfd03dad968dfb110eb49211d80 (diff) |
KVM: s390: don't use current->thread.fpu.* when accessing registers
As the meaning of these variables and pointers seems to change more
frequently, let's directly access our save area, instead of going via
current->thread.
Right now, this is broken for set/get_fpu. They simply overwrite the
host registers, as the pointers to the current save area were turned
into the static host save area.
Cc: stable@vger.kernel.org # 4.7
Fixes: 3f6813b9a5e0 ("s390/fpu: allocate 'struct fpu' with the task_struct")
Reported-by: Hao QingFeng <haoqf@linux.vnet.ibm.com>
Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'net/atm')
0 files changed, 0 insertions, 0 deletions