commit | d96f234f47aff593538f9e3d674967078f56bc28 | [log] [tgz] |
---|---|---|
author | Anton Blanchard <anton@samba.org> | Sun May 29 22:03:51 2016 +1000 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Tue Jun 14 13:58:25 2016 +1000 |
tree | 9b76934c91abcf4b3bc883e17ce698049575781d | |
parent | 8eb9803723a14fd12675641b953e4ccbd86187a8 [diff] |
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>