]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf3ed6b7e12855831e580617a77add7c121b58750
tree8e2e5ced53d6e089a1845597a248e82fb5bb3ec6
parentb5f5ce7e0453175c0c31c904d0e1b859d3f65214
powerpc/math-emu: Move the flush FPU state function into do_mathemu

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>
arch/powerpc/kernel/traps.c
arch/powerpc/math-emu/math.c