diff options
| author | 2016-05-29 22:03:51 +1000 | |
|---|---|---|
| committer | 2016-06-14 13:58:25 +1000 | |
| commit | d96f234f47aff593538f9e3d674967078f56bc28 (patch) | |
| tree | 9b76934c91abcf4b3bc883e17ce698049575781d /include/linux/stackprotector.h | |
| parent | powerpc: Avoid load hit store in __giveup_fpu() and __giveup_altivec() (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>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions
