Skip to contentSkip to conversation

arm64: lib: Consistently enable crc32 extension

PATCH Applied Mark Brown 2 participants 2 messages Apr 14, 2020 – Apr 28, 2020 arm64

lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 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.

---
 arch/arm64/lib/crc32.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/lib/crc32.S +1 -1
index 243e107e9896..0f9e10ecda23 100644
@@ -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
Signature · 7 lines
2.20.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
maintainer Applied
#1 lore raw
Quoted 3 lines · Mark Brown

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.

Applied to arm64 (for-next/misc), thanks!

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

      https://git.kernel.org/arm64/c/30218da5974c

Cheers,

Signature · 9 lines
Will

https://fixes.arm64.dev
https://next.arm64.dev

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel