aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorChristophe Leroy <[email protected]>2022-03-09 07:56:14 +0000
committerMichael Ellerman <[email protected]>2022-05-08 12:15:40 +0000
commita1ae431705410fc7092790977bffd1b00c63c229 (patch)
treea0b0938ab2130f315bb4689df0dcda781897e71c /arch/powerpc/lib/code-patching.c
parentpowerpc: Add missing headers (diff)
downloadkernel-a1ae431705410fc7092790977bffd1b00c63c229.tar.gz
kernel-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 <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> 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