[PATCH] lib/crc: arm64: Assume a little-endian kernel

Ard Biesheuvel ardb at kernel.org
Wed Apr 1 00:31:15 PDT 2026



On Wed, 1 Apr 2026, at 02:44, Eric Biggers wrote:
> Since support for big-endian arm64 kernels was removed, the CPU_LE()
> macro now unconditionally emits the code it is passed, and the CPU_BE()
> macro now unconditionally discards the code it is passed.
>
> Simplify the assembly code in lib/crc/arm64/ accordingly.
>
> Signed-off-by: Eric Biggers <ebiggers at kernel.org>
> ---
>
> This patch is targeting crc-next
>
>  lib/crc/arm64/crc-t10dif-core.S | 56 ++++++++++++++++-----------------
>  lib/crc/arm64/crc32-core.S      |  9 ++----
>  2 files changed, 30 insertions(+), 35 deletions(-)
>

Reviewed-by: Ard Biesheuvel <ardb at kernel.org>



More information about the linux-arm-kernel mailing list