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>
Mon, 27 Feb 2012 18:25:53 +0000 (10:25 -0800)
commit38358b6185298df66ef4ddb4ceaaa1baf8521b28
tree3b0cde3108037560be4e1d1ddf0ad280aa17372f
parenta5c28716652f9f71c848452b67795e5af690a91f
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