summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/xsave.c
diff options
context:
space:
mode:
authorSuresh Siddha <suresh.b.siddha@intel.com>2012-08-24 23:13:01 +0200
committerH. Peter Anvin <hpa@linux.intel.com>2012-09-19 00:52:09 +0200
commit9c6ff8bbb69a4e7b47ac40bfa44509296e89c5c0 (patch)
treeae4e563e6afd275f4528877ac3ff884ccb62b243 /arch/x86/kernel/xsave.c
parentx86, fpu: always use kernel_fpu_begin/end() for in-kernel FPU usage (diff)
downloadlinux-9c6ff8bbb69a4e7b47ac40bfa44509296e89c5c0.tar.xz
linux-9c6ff8bbb69a4e7b47ac40bfa44509296e89c5c0.zip
lguest, x86: handle guest TS bit for lazy/non-lazy fpu host models
Instead of using unlazy_fpu() check if user_has_fpu() and set/clear the host TS bits so that the lguest works fine with both the lazy/non-lazy FPU host models with minimal changes. Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com> Link: http://lkml.kernel.org/r/1345842782-24175-6-git-send-email-suresh.b.siddha@intel.com Cc: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/x86/kernel/xsave.c')
0 files changed, 0 insertions, 0 deletions