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 <qkrwngud825@gmail.com>
fourteen
Park Ju Hyung 6 years ago committed by Jenna
parent b254d07c53
commit b9e04ef6fd
  1. 6
      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)

Loading…
Cancel
Save