]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Remove the redundant flush_fp_to_thread() in setup_sigcontext()
authorKevin Hao <haokexin@gmail.com>
Sun, 14 Jul 2013 09:02:04 +0000 (17:02 +0800)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 14 Aug 2013 04:59:38 +0000 (14:59 +1000)
commit2d023c02d7061dd9bf836068614cf96733f5ad06
treed5075c959038c452fe80db6db06b286bdda78083
parent04b861b1e31f0ba1dbe687e68e67016036e9b77d
powerpc: Remove the redundant flush_fp_to_thread() in setup_sigcontext()

In commit a397e33d(powerpc: Introduce VSX thread_struct and CONFIG_VSX)
we add a invocation of flush_fp_to_thread() before copying the FPR or
VSR to users. But we already invoke the flush_fp_to_thread() in this
function. So remove one of them.

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