]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: arm/sha1-ce - enable module autoloading based on CPU feature bits
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Sun, 21 May 2017 10:23:38 +0000 (10:23 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 1 Jun 2017 04:55:40 +0000 (12:55 +0800)
commit6a6d45edecf33eba6a5bdb1fc797b1a3d8e2d46c
treef12fd822b50a062c69bfe6bbd3c2cc8a4bfb5f90
parent2479df83716397b0689e583de9b4adf531250eee
crypto: arm/sha1-ce - enable module autoloading based on CPU feature bits

Make the module autoloadable by tying it to the CPU feature bit that
describes whether the optional instructions it relies on are implemented
by the current CPU.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/arm/crypto/sha1-ce-glue.c