]> www.infradead.org Git - users/jedix/linux-maple.git/commit
arm64: Kconfig: remove unnecessary selection of CRC32
authorEric Biggers <ebiggers@google.com>
Mon, 14 Apr 2025 17:40:18 +0000 (10:40 -0700)
committerWill Deacon <will@kernel.org>
Tue, 29 Apr 2025 15:20:39 +0000 (16:20 +0100)
commite2eaeba0522d332bef8e61b2b9f54a78cd2b6257
tree8213925ffdb914159822356d369b0a314bc0d10b
parent20125324c01d30f7ff36183a8f48ffebca9db584
arm64: Kconfig: remove unnecessary selection of CRC32

The selection of CRC32 by ARM64 was added by commit 7481cddf29ed
("arm64/lib: add accelerated crc32 routines") as a workaround for the
fact that, at the time, the CRC32 library functions used weak symbols to
allow architecture-specific overrides.  That only worked when CRC32 was
built-in, and thus ARM64 was made to just force CRC32 to built-in.

Now that the CRC32 library no longer uses weak symbols, that no longer
applies.  And the selection does not fulfill a user dependency either;
those all have their own selections from other options.  Therefore, the
selection of CRC32 by ARM64 is no longer necessary.  Remove it.

Note that this does not necessarily result in CRC32 no longer being set
to y, as it still tends to get selected by something else anyway.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20250414174018.6359-1-ebiggers@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/Kconfig