arm64: lib: Consistently enable crc32 extension
authorMark Brown <broonie@kernel.org>
Tue, 14 Apr 2020 18:28:43 +0000 (19:28 +0100)
committerWill Deacon <will@kernel.org>
Tue, 28 Apr 2020 13:36:32 +0000 (14:36 +0100)
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>
arch/arm64/lib/crc32.S

index 243e107..0f9e10e 100644 (file)
@@ -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