i387: move TS_USEDFPU clearing out of __save_init_fpu and into callers
authorLinus Torvalds <torvalds@linux-foundation.org>
Thu, 16 Feb 2012 20:22:48 +0000 (12:22 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Mar 2012 00:34:23 +0000 (16:34 -0800)
commit0affff96641db67d43092de85c3c4c54028d62e9
treed3a9b9df0abe648885a795941229ff5b13821208
parentc3cb6440304a2f9afd240bd860860d4a4955d409
i387: move TS_USEDFPU clearing out of __save_init_fpu and into callers

commit b6c66418dcad0fcf83cd1d0a39482db37bf4fc41 upstream.

Touching TS_USEDFPU without touching CR0.TS is confusing, so don't do
it.  By moving it into the callers, we always do the TS_USEDFPU next to
the CR0.TS accesses in the source code, and it's much easier to see how
the two go hand in hand.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/include/asm/i387.h