diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2017-06-13 23:05:49 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-06-19 19:46:28 +1000 |
commit | b48bbb82e2b83537c500417d60218ad44446e572 (patch) | |
tree | 11d3df0baa7c3941c188448046b3e51c7db7f578 /arch/score/lib | |
parent | a9af97aa0a12c30178dd7ad9af8887d5b9c4647b (diff) | |
download | linux-b48bbb82e2b83537c500417d60218ad44446e572.tar.bz2 |
powerpc/64s: Don't unbalance the return branch predictor in __replay_interrupt()
The __replay_interrupt() code is branched to with bl, but the caller is
returned to directly with rfid from the interrupt.
Instead, rfid to a stub that returns to the caller with blr, which
should keep the return branch predictor balanced.
Reviewed-by: Gautham R. Shenoy <ego@linux.vnet.ibm.com>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/score/lib')
0 files changed, 0 insertions, 0 deletions