Commit c12abf34 authored by Michael Ellerman's avatar Michael Ellerman Committed by Herbert Xu
Browse files

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: 6dd7a82c

 ("crypto: powerpc - Add POWER8 optimised crc32c")
Acked-by: default avatarAnton Blanchard <>
Signed-off-by: default avatarMichael Ellerman <>
Signed-off-by: default avatarHerbert Xu <>
parent 2fdea258
......@@ -439,7 +439,7 @@ config CRYPTO_CRC32C_INTEL
tristate "CRC32c CRC algorithm (powerpc64)"
depends on PPC64
depends on PPC64 && ALTIVEC
select CRC32
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment