From: Ard Biesheuvel Date: Tue, 28 Feb 2017 14:36:56 +0000 (+0000) Subject: crypto: arm/crc32 - fix build error with outdated binutils X-Git-Tag: v4.14-rc1~1344^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1fb1683cb343d80736625f3048de2107cf5bbf79;p=platform%2Fkernel%2Flinux-rpi.git crypto: arm/crc32 - fix build error with outdated binutils Annotate a vmov instruction with an explicit element size of 32 bits. This is inferred by recent toolchains, but apparently, older versions need some help figuring this out. Signed-off-by: Ard Biesheuvel Signed-off-by: Herbert Xu --- diff --git a/arch/arm/crypto/crc32-ce-core.S b/arch/arm/crypto/crc32-ce-core.S index e63d400..5cbd4a6 100644 --- a/arch/arm/crypto/crc32-ce-core.S +++ b/arch/arm/crypto/crc32-ce-core.S @@ -135,7 +135,7 @@ ENTRY(crc32c_pmull_le) vld1.8 {q3-q4}, [BUF, :128]! vmov.i8 qzr, #0 vmov.i8 qCONSTANT, #0 - vmov dCONSTANTl[0], CRC + vmov.32 dCONSTANTl[0], CRC veor.8 d2, d2, dCONSTANTl sub LEN, LEN, #0x40 cmp LEN, #0x40