x86: use alternative instructions for fnsave/fxsave too
authorLinus Torvalds <torvalds@evo.osdl.org>
Fri, 22 Jul 2005 22:19:20 +0000 (18:19 -0400)
committerLinus Torvalds <torvalds@evo.osdl.org>
Fri, 22 Jul 2005 22:19:20 +0000 (18:19 -0400)
commit2847e3478c3d8119eedc3e0cb85a308b21f681dd
tree40e24b6a405331ae5fc9ed38b0d4872c84069891
parent38afd6adf6bccd7176e88c07cac104d3639aa30d
x86: use alternative instructions for fnsave/fxsave too

This one ends up using an inline asm format that claims to read memory
and then clobber it (rather than just write it directly), which made it
easier to use the existing "alternative_input()" infrastructure support.

Now the fxsave code matches the fxrstor.
include/asm-i386/i387.h