]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitea620fdae457efe13a27dec3d57d0c471defa889
tree0a23207a2ab766341fbf60d76b2c10984ec6e5ca
parentff80d4f219053e4894aa2e753346dd357507975d
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