diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2017-08-23 16:54:38 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-09-01 16:42:46 +1000 |
commit | ad1b0122bdc96cbcfcfbc9ef59f9bf3658802a72 (patch) | |
tree | 49b31cc88d2728f2f75c3292a1ea4250b48f2695 /drivers/crypto/caam | |
parent | 7bf6057b962016eee57bc76295f80a26f90172f7 (diff) | |
download | op-kernel-dev-ad1b0122bdc96cbcfcfbc9ef59f9bf3658802a72.zip op-kernel-dev-ad1b0122bdc96cbcfcfbc9ef59f9bf3658802a72.tar.gz |
powerpc/32: remove a NOP from memset()
memset() is patched after initialisation to activate the
optimised part which uses cache instructions.
Today we have a 'b 2f' to skip the optimised patch, which then gets
replaced by a NOP, implying a useless cycle consumption.
As we have a 'bne 2f' just before, we could use that instruction
for the live patching, hence removing the need to have a
dedicated 'b 2f' to be replaced by a NOP.
This patch changes the 'bne 2f' by a 'b 2f'. During init, that
'b 2f' is then replaced by 'bne 2f'
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'drivers/crypto/caam')
0 files changed, 0 insertions, 0 deletions