BACKPORT: 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>
Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
Change-Id: Icaf0a84bc1a77cb74d8ec1c4277a38d90702df89
This commit is contained in:
Mark Brown 2020-04-14 19:28:43 +01:00 committed by spakkkk
parent 5818d1a87c
commit 43f912b31f

View File

@ -12,7 +12,7 @@
#include <asm/alternative.h>
#include <asm/assembler.h>
.cpu generic+crc
.arch armv8-a+crc
.macro byteorder, reg, be
.if \be