]> www.infradead.org Git - users/jedix/linux-maple.git/commit
arm64/crc32: Reorganize bit/byte ordering macros
authorArd Biesheuvel <ardb@kernel.org>
Fri, 18 Oct 2024 07:53:50 +0000 (09:53 +0200)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 22 Oct 2024 10:54:43 +0000 (11:54 +0100)
commitb98b23e19492f4009070761c53b755f623f60e49
tree53912aead2e36d5fa632c90a64ab03afb9664d60
parentfc7454107d1b7c27bb98d3b109e5f44a8a46d7f8
arm64/crc32: Reorganize bit/byte ordering macros

In preparation for a new user, reorganize the bit/byte ordering macros
that are used to parameterize the crc32 template code and instantiate
CRC-32, CRC-32c and 'big endian' CRC-32.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Eric Biggers <ebiggers@google.com>
Link: https://lore.kernel.org/r/20241018075347.2821102-7-ardb+git@google.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/lib/crc32.S