From b9e04ef6fd915c8ef2c713cb5ba426b3d8251d23 Mon Sep 17 00:00:00 2001 From: Park Ju Hyung Date: Wed, 13 Mar 2019 14:08:35 +0900 Subject: [PATCH] arm64: crc32: always assume ARM64_HAS_CRC32 Our alternative framework is not ready for this. Just hardcode this in. Signed-off-by: Park Ju Hyung --- arch/arm64/lib/crc32.S | 6 ------ 1 file changed, 6 deletions(-) diff --git a/arch/arm64/lib/crc32.S b/arch/arm64/lib/crc32.S index f132f2a7522e..facb28b6e361 100644 --- a/arch/arm64/lib/crc32.S +++ b/arch/arm64/lib/crc32.S @@ -89,16 +89,10 @@ CPU_BE( rev16 w3, w3 ) .align 5 ENTRY(crc32_le) -alternative_if_not ARM64_HAS_CRC32 - b crc32_le_base -alternative_else_nop_endif __crc32 ENDPROC(crc32_le) .align 5 ENTRY(__crc32c_le) -alternative_if_not ARM64_HAS_CRC32 - b __crc32c_le_base -alternative_else_nop_endif __crc32 c ENDPROC(__crc32c_le)