summaryrefslogtreecommitdiff
path: root/arch/powerpc/kvm/emulate.c
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2023-05-15 15:40:08 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2023-05-15 15:48:53 +0300
commit8133a3f0aa66ed3d7d974c89ac6aca6fe6cec837 (patch)
tree57885b6cae5d4f906a1d5edc7dd23e25b45cd96e /arch/powerpc/kvm/emulate.c
parent35a4b8ce4ac00e940b46b1034916ccb22ce9bdef (diff)
downloadlinux-8133a3f0aa66ed3d7d974c89ac6aca6fe6cec837.tar.xz
powerpc/crypto: Fix aes-gcm-p10 build when VSX=n
When VSX is disabled, eg. microwatt_defconfig, the build fails with: In function ‘enable_kernel_vsx’, inlined from ‘vsx_begin’ at arch/powerpc/crypto/aes-gcm-p10-glue.c:68:2, inlined from ‘p10_aes_gcm_crypt.constprop’ at arch/powerpc/crypto/aes-gcm-p10-glue.c:244:2: ... arch/powerpc/include/asm/switch_to.h:86:9: note: in expansion of macro ‘BUILD_BUG’ 86 | BUILD_BUG(); | ^~~~~~~~~ Fix it by making the p10-aes-gcm code depend on VSX. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://msgid.link/20230515124731.122962-1-mpe%40ellerman.id.au
Diffstat (limited to 'arch/powerpc/kvm/emulate.c')
0 files changed, 0 insertions, 0 deletions