Skip to content

Commit c12abf3

Browse files
mpeherbertx
authored andcommitted
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: 6dd7a82 ("crypto: powerpc - Add POWER8 optimised crc32c") Acked-by: Anton Blanchard <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
1 parent 2fdea25 commit c12abf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crypto/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ config CRYPTO_CRC32C_INTEL
439439

440440
config CRYPT_CRC32C_VPMSUM
441441
tristate "CRC32c CRC algorithm (powerpc64)"
442-
depends on PPC64
442+
depends on PPC64 && ALTIVEC
443443
select CRYPTO_HASH
444444
select CRC32
445445
help

0 commit comments

Comments
 (0)