[PATCH] crypto: vmx - VMX crypto should depend on CONFIG_VSX

Herbert Xu herbert at gondor.apana.org.au
Wed Sep 9 16:16:33 AEST 2015


On Wed, Sep 09, 2015 at 04:15:23PM +1000, Michael Ellerman wrote:
> This code uses FP (floating point), Altivec and VSX. 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 at ellerman.id.au>

Could you please cc linux-crypto at vger.kernel.org?

Thanks,
-- 
Email: Herbert Xu <herbert at gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


More information about the Linuxppc-dev mailing list