Commit 30218da5 authored by Mark Brown's avatar Mark Brown Committed by Will Deacon

arm64: lib: Consistently enable crc32 extension

Currently most of the assembly files that use architecture extensions
enable them using the .arch directive but crc32.S uses .cpu instead. Move
that over to .arch for consistency.
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Acked-by: default avatarArd Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20200414182843.31664-1-broonie@kernel.orgSigned-off-by: default avatarWill Deacon <will@kernel.org>
parent 68ecabd0
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
#include <asm/alternative.h> #include <asm/alternative.h>
#include <asm/assembler.h> #include <asm/assembler.h>
.cpu generic+crc .arch armv8-a+crc
.macro __crc32, c .macro __crc32, c
cmp x2, #16 cmp x2, #16
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment