powerpc/math-emu: Move the flush FPU state function into do_mathemu
authorKevin Hao <haokexin@gmail.com>
Sun, 14 Jul 2013 08:40:06 +0000 (16:40 +0800)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 14 Aug 2013 04:59:06 +0000 (14:59 +1000)
By doing this we can make sure that the FPU state is only flushed to
the thread struct when it is really needed.

Signed-off-by: Kevin Hao <haokexin@gmail.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>

No differences found