diff options
| author | Eric Biggers <ebiggers@kernel.org> | 2026-03-14 20:57:44 +0300 |
|---|---|---|
| committer | Eric Biggers <ebiggers@kernel.org> | 2026-03-17 19:29:28 +0300 |
| commit | 6e4d63e8993c681e1cec7d564b4e018e21e658d0 (patch) | |
| tree | a6d7bfe2aebe7f8b4f565742e122bdf771e10398 /lib | |
| parent | d61686cf10aa7203001d24d86369aa1af4d06319 (diff) | |
| download | linux-6e4d63e8993c681e1cec7d564b4e018e21e658d0.tar.xz | |
lib/crc: arm64: Drop check for CONFIG_KERNEL_MODE_NEON
CONFIG_KERNEL_MODE_NEON is always enabled on arm64, and it always has
been since its introduction in 2013. Given that and the fact that the
usefulness of kernel-mode NEON has only been increasing over time,
checking for this option in arm64-specific code is unnecessary. Remove
this check from lib/crc/ to simplify the code and prevent any future
bugs where e.g. code gets disabled due to a typo in this logic.
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20260314175744.30620-1-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/crc/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/crc/Kconfig b/lib/crc/Kconfig index cca228879bb5..52e216f39746 100644 --- a/lib/crc/Kconfig +++ b/lib/crc/Kconfig @@ -48,7 +48,7 @@ config CRC_T10DIF_ARCH bool depends on CRC_T10DIF && CRC_OPTIMIZATIONS default y if ARM && KERNEL_MODE_NEON - default y if ARM64 && KERNEL_MODE_NEON + default y if ARM64 default y if PPC64 && ALTIVEC default y if RISCV && RISCV_ISA_ZBC default y if X86 |
