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)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 16 Feb 2012 20:22:48 +0000 (12:22 -0800)
commitb6c66418dcad0fcf83cd1d0a39482db37bf4fc41
tree0a23207a2ab766341fbf60d76b2c10984ec6e5ca
parent15d8791cae75dca27bfda8ecfe87dca9379d6bb0
i387: move TS_USEDFPU clearing out of __save_init_fpu and into callers

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>
arch/x86/include/asm/i387.h