summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2016-08-09 08:46:15 +1000
committerHerbert Xu <herbert@gondor.apana.org.au>2016-08-09 18:25:09 +0800
commitc5df76a185f097d771c0851daddcac1e7ee75d0a (patch)
tree7e416e8769b993c371f1ac5fa0cc4eec530eebd5 /crypto
parentf835bb0b62a9588275227b3c8f7df6d1f08232b1 (diff)
downloadlinux-crypto-c5df76a185f097d771c0851daddcac1e7ee75d0a.tar.gz
linux-crypto-c5df76a185f097d771c0851daddcac1e7ee75d0a.zip
crypto: powerpc - CRYPT_CRC32C_VPMSUM should depend on ALTIVEC
The optimised crc32c implementation depends on VMX (aka. Altivec) instructions, so the kernel must be built with Altivec support in order for the crc32c code to build. Fixes: 852612d81c7c ("crypto: powerpc - Add POWER8 optimised crc32c") Acked-by: Anton Blanchard <anton@samba.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
-rw-r--r--crypto/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig
index a9377bef..84d71482 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -439,7 +439,7 @@ config CRYPTO_CRC32C_INTEL
config CRYPT_CRC32C_VPMSUM
tristate "CRC32c CRC algorithm (powerpc64)"
- depends on PPC64
+ depends on PPC64 && ALTIVEC
select CRYPTO_HASH
select CRC32
help