x86/xstate: undo bogus adjustment to xsave()

This reverts an unintended change in commit 879b44b041 ("x86/fpu: add
a per-domain field to set the width of FIP/FDP"), which I had done
intermediately while fixing the build issue: After having reverted that
adjustment I must have forgotten to "git add" the adjustment.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
This commit is contained in:
Jan Beulich committed 2016-03-10 16:47:02 +01:00
1 parent fc0e69e635
commit 3cdad9183a
1 file changed
+1 -1
+1 -1
View File
@@ -292,7 +292,7 @@ void xsave(struct vcpu *v, uint64_t mask)
XSAVE("0x48,");
if ( !(ptr->xsave_hdr.xstate_bv & XSTATE_FP) ||
if ( !(mask & ptr->xsave_hdr.xstate_bv & XSTATE_FP) ||
/*
* AMD CPUs don't save/restore FDP/FIP/FOP unless an exception
* is pending.
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.