Skip to content
Commit 9c6ff8bb authored by Suresh Siddha's avatar Suresh Siddha Committed by H. Peter Anvin
Browse files

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: default avatarSuresh 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: default avatarH. Peter Anvin <hpa@linux.intel.com>
parent 841e3604
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment