Skip to content

Commit 30218da

Browse files
brooniewilldeacon
authored andcommitted
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 <[email protected]> Acked-by: Ard Biesheuvel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
1 parent 68ecabd commit 30218da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm64/lib/crc32.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#include <asm/alternative.h>
1010
#include <asm/assembler.h>
1111

12-
.cpu generic+crc
12+
.arch armv8-a+crc
1313

1414
.macro __crc32, c
1515
cmp x2, #16

0 commit comments

Comments
 (0)