diff mbox series

[2/2] arm64: lib: Consistently enable crc32 extension

Message ID 20200325135522.7782-3-broonie@kernel.org (mailing list archive)
State Mainlined
Commit 30218da5974ceb29c913e53296577526cb742a7e
Headers show
Series arm64: Make extension enablement consistent | expand

Commit Message

Mark Brown March 25, 2020, 1:55 p.m. UTC
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>
---
 arch/arm64/lib/crc32.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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