[PATCH 3.4 137/146] x86, kvm: fix kvm's usage of kernel_fpu_begin/end()

2015-09-15 Thread lizf
From: Suresh Siddha 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit b1a74bf8212367be2b1d6685c11a84e056eaaaf1 upstream. Preemption is disabled between kernel_fpu_begin/end() and as such it is not a good idea to use these routines in

[PATCH 3.4 137/146] x86, kvm: fix kvm's usage of kernel_fpu_begin/end()

2015-09-15 Thread lizf
From: Suresh Siddha 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit b1a74bf8212367be2b1d6685c11a84e056eaaaf1 upstream. Preemption is disabled between kernel_fpu_begin/end() and as such it is not a good idea to