Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <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>

authored by

Mark Brown and committed by
Will Deacon
30218da5 68ecabd0

+1 -1
+1 -1
arch/arm64/lib/crc32.S
··· 9 9 #include <asm/alternative.h> 10 10 #include <asm/assembler.h> 11 11 12 - .cpu generic+crc 12 + .arch armv8-a+crc 13 13 14 14 .macro __crc32, c 15 15 cmp x2, #16