diff mbox series

arm64: lib: Consistently enable crc32 extension

Message ID 20200414182843.31664-1-broonie@kernel.org (mailing list archive)
State Mainlined
Commit 30218da5974ceb29c913e53296577526cb742a7e
Headers show
Series arm64: lib: Consistently enable crc32 extension | expand

Commit Message

Mark Brown April 14, 2020, 6:28 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>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
---
 arch/arm64/lib/crc32.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Will Deacon April 28, 2020, 2:49 p.m. UTC | #1
On Tue, 14 Apr 2020 19:28:43 +0100, Mark Brown wrote:
> 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,
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