]> 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)
commit0b2096629c3673c8870e3585949d54fcd6cdde59
tree8e2e5ced53d6e089a1845597a248e82fb5bb3ec6
parent2af7534680bf6851670084a8c57af6248c65e6c4
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