[PATCH] x86_64: Fix 64bit FXSAVE encoding
authorJan Beulich <jbeulich@novell.com>
Wed, 11 Jan 2006 21:43:36 +0000 (22:43 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 12 Jan 2006 03:04:51 +0000 (19:04 -0800)
commit7180d4fb83085fef9d24b353f5bd79cf6fd98447
tree0b2dde2d788ee264fbf02f7f7cfb30288c73feee
parente99286744599a66195de4cd975d7ef4d643c2789
[PATCH] x86_64: Fix 64bit FXSAVE encoding

The separation of the rex64 prefix (on fxsave/fxrstor) by way of using
a semicolon resulted in the prefix not always taking effect (because
when extended registers are needed for addressing, another rex prefix
would have been generated by the compiler), thus (depending on the
build) resulting in eventually getting 32-bit saves and/or restores.

Signed-Off-By: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-x86_64/i387.h