diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2017-02-28 14:36:57 +0000 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-03-01 19:47:53 +0800 |
commit | efa7cebdbfde8506b54acd8947822394768cd476 (patch) | |
tree | 69dd36ac1ae52613c65d24223587b8747d9fef38 /fs/qnx4/inode.c | |
parent | 1fb1683cb343d80736625f3048de2107cf5bbf79 (diff) | |
download | op-kernel-dev-efa7cebdbfde8506b54acd8947822394768cd476.zip op-kernel-dev-efa7cebdbfde8506b54acd8947822394768cd476.tar.gz |
crypto: arm/crc32 - add build time test for CRC instruction support
The accelerated CRC32 module for ARM may use either the scalar CRC32
instructions, the NEON 64x64 to 128 bit polynomial multiplication
(vmull.p64) instruction, or both, depending on what the current CPU
supports.
However, this also requires support in binutils, and as it turns out,
versions of binutils exist that support the vmull.p64 instruction but
not the crc32 instructions.
So refactor the Makefile logic so that this module only gets built if
binutils has support for both.
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Acked-by: Jon Hunter <jonathanh@nvidia.com>
Tested-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'fs/qnx4/inode.c')
0 files changed, 0 insertions, 0 deletions