Re: [PATCH] powerpc: Use rol32() instead of opencoding in csum_fold()

2022-05-15 Thread Michael Ellerman
On Wed, 9 Mar 2022 08:56:14 +0100, Christophe Leroy wrote: > rol32(x, 16) will do the rotate using rlwinm. > > No need to open code using inline assembly. > > Applied to powerpc/next. [1/1] powerpc: Use rol32() instead of opencoding in csum_fold() https://git.kernel.org/powerpc/c/a1ae431

RE: [PATCH] powerpc: Use rol32() instead of opencoding in csum_fold()

2022-03-09 Thread David Laight
From: Christophe Leroy > Sent: 09 March 2022 07:56 ... > diff --git a/arch/powerpc/include/asm/checksum.h > b/arch/powerpc/include/asm/checksum.h > index 8321f6053a67..4b573a3b7e17 100644 > --- a/arch/powerpc/include/asm/checksum.h > +++ b/arch/powerpc/include/asm/checksum.h > @@ -38,14 +38,15 @@