summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2017-02-28 14:36:56 +0000
committerHerbert Xu <herbert@gondor.apana.org.au>2017-03-01 19:47:51 +0800
commit1fb1683cb343d80736625f3048de2107cf5bbf79 (patch)
treea99667bc6045039b46a887e97fd193df4d77280d
parent3b30460c5b0ed762be75a004e924ec3f8711e032 (diff)
downloadlinux-riscv-1fb1683cb343d80736625f3048de2107cf5bbf79.tar.gz
linux-riscv-1fb1683cb343d80736625f3048de2107cf5bbf79.tar.bz2
linux-riscv-1fb1683cb343d80736625f3048de2107cf5bbf79.zip
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 <ard.biesheuvel@linaro.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r--arch/arm/crypto/crc32-ce-core.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/crypto/crc32-ce-core.S b/arch/arm/crypto/crc32-ce-core.S
index e63d400dc5c1..5cbd4a6fedad 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