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

Make the module autoloadable by tying it to the CPU feature bits that
describe 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/crc32-ce-glue.c