summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2016-05-29 22:03:51 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2016-06-14 13:58:25 +1000
commitd96f234f47aff593538f9e3d674967078f56bc28 (patch)
tree9b76934c91abcf4b3bc883e17ce698049575781d /arch/powerpc/lib
parent8eb9803723a14fd12675641b953e4ccbd86187a8 (diff)
downloadop-kernel-dev-d96f234f47aff593538f9e3d674967078f56bc28.zip
op-kernel-dev-d96f234f47aff593538f9e3d674967078f56bc28.tar.gz
powerpc: Avoid load hit store in setup_sigcontext()
In setup_sigcontext(), we set current->thread.vrsave then use it straight after. Since current is hidden from the compiler via inline assembly, it cannot optimise this and we end up with a load hit store. Fix this by using a temporary. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud