crypto: vmx - VMX crypto should depend on CONFIG_VSX
authorMichael Ellerman <mpe@ellerman.id.au>
Wed, 9 Sep 2015 08:22:35 +0000 (18:22 +1000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 10 Sep 2015 09:22:54 +0000 (17:22 +0800)
commitf1ab428711358fbb747ba392c3448462494e6c6a
tree8fab47fd9420b8685ae36560fdbcd781829b64bf
parent71c6da846be478a61556717ef1ee1cea91f5d6a8
crypto: vmx - VMX crypto should depend on CONFIG_VSX

This code uses FP (floating point), Altivec and VSX (Vector-Scalar
Extension). It can just depend on CONFIG_VSX though, because that
already depends on FP and Altivec.

Otherwise we get lots of link errors such as:

  drivers/built-in.o: In function `.p8_aes_setkey':
  aes.c:(.text+0x2d325c): undefined reference to `.enable_kernel_altivec'
  aes.c:(.text+0x2d326c): undefined reference to `.enable_kernel_vsx'

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/Kconfig