]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: arm/sha2-ce - enable module autoloading based on CPU feature bits
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Sun, 21 May 2017 10:23:39 +0000 (10:23 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 1 Jun 2017 04:55:41 +0000 (12:55 +0800)
commit3932debe0c1a9cf8f516fd80ce5af8863bb5477d
tree18b4d6017b0c8a57032e92d2a07dc833b21d8f50
parent19be8a90c6b192e595d0cf6dce923c992b5ba546
crypto: arm/sha2-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/sha2-ce-glue.c