summaryrefslogtreecommitdiff
path: root/arch/arm64/lib
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2020-04-14 21:28:43 +0300
committerWill Deacon <will@kernel.org>2020-04-28 16:36:32 +0300
commit30218da5974ceb29c913e53296577526cb742a7e (patch)
treeede2df90e61c488bc44be4f64b6d40f433b2d12b /arch/arm64/lib
parent68ecabd0e680a4ceaf950ae189a55d4730d10c64 (diff)
downloadlinux-30218da5974ceb29c913e53296577526cb742a7e.tar.xz
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: Mark Brown <broonie@kernel.org> Acked-by: Ard Biesheuvel <ardb@kernel.org> Link: https://lore.kernel.org/r/20200414182843.31664-1-broonie@kernel.org Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64/lib')
-rw-r--r--arch/arm64/lib/crc32.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/lib/crc32.S b/arch/arm64/lib/crc32.S
index 243e107e9896..0f9e10ecda23 100644
--- a/arch/arm64/lib/crc32.S
+++ b/arch/arm64/lib/crc32.S
@@ -9,7 +9,7 @@
#include <asm/alternative.h>
#include <asm/assembler.h>
- .cpu generic+crc
+ .arch armv8-a+crc
.macro __crc32, c
cmp x2, #16