diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2017-02-28 15:36:57 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-03-01 12:47:53 +0100 |
commit | efa7cebdbfde8506b54acd8947822394768cd476 (patch) | |
tree | 69dd36ac1ae52613c65d24223587b8747d9fef38 /fs/fat/inode.c | |
parent | crypto: arm/crc32 - fix build error with outdated binutils (diff) | |
download | linux-efa7cebdbfde8506b54acd8947822394768cd476.tar.xz linux-efa7cebdbfde8506b54acd8947822394768cd476.zip |
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/fat/inode.c')
0 files changed, 0 insertions, 0 deletions