diff options
author | Christophe Leroy <christophe.leroy@csgroup.eu> | 2022-03-09 08:56:14 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-05-08 22:15:40 +1000 |
commit | a1ae431705410fc7092790977bffd1b00c63c229 (patch) | |
tree | a0b0938ab2130f315bb4689df0dcda781897e71c /arch/powerpc/lib/code-patching.c | |
parent | e6f6390ab7b9d649c13de2c8a591bce61a10ec3b (diff) | |
download | linux-a1ae431705410fc7092790977bffd1b00c63c229.tar.gz linux-a1ae431705410fc7092790977bffd1b00c63c229.tar.bz2 linux-a1ae431705410fc7092790977bffd1b00c63c229.zip |
powerpc: Use rol32() instead of opencoding in csum_fold()
rol32(x, 16) will do the rotate using rlwinm.
No need to open code using inline assembly.
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/794337eff7bb803d2c4e67d9eee635390c4c48fe.1646812553.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions