Skip to content

Commit e2eaeba

Browse files
ebiggerswilldeacon
authored andcommitted
arm64: Kconfig: remove unnecessary selection of CRC32
The selection of CRC32 by ARM64 was added by commit 7481cdd ("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>
1 parent 2012532 commit e2eaeba

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

arch/arm64/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@ config ARM64
134134
select COMMON_CLK
135135
select CPU_PM if (SUSPEND || CPU_IDLE)
136136
select CPUMASK_OFFSTACK if NR_CPUS > 256
137-
select CRC32
138137
select DCACHE_WORD_ACCESS
139138
select DYNAMIC_FTRACE if FUNCTION_TRACER
140139
select DMA_BOUNCE_UNALIGNED_KMALLOC

0 commit comments

Comments
 (0)