From: Michael Neuling Date: Wed, 8 Jan 2014 10:25:31 +0000 (+1100) Subject: powerpc/Kconfig: Make TM select VSX and VMX X-Git-Tag: v3.14-rc1~26^2^2~3 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7b37a1232273912dd57cd72b82fe70407bff7683;p=karo-tx-linux.git powerpc/Kconfig: Make TM select VSX and VMX There are no processors in existence that have TM but no VMX or VSX. So let's makes CONFIG_PPC_TRANSACTIONAL_MEM select both CONFIG_VSX and CONFIG_ALTIVEC. This makes the code a lot simpler by removing the need for a bunch of #ifdefs. Signed-off-by: Michael Neuling Signed-off-by: Paul Mackerras Signed-off-by: Alexander Graf --- diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 4740b0a15fa8..799d758f42c4 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -338,6 +338,8 @@ config PPC_TRANSACTIONAL_MEM bool "Transactional Memory support for POWERPC" depends on PPC_BOOK3S_64 depends on SMP + select ALTIVEC + select VSX default n ---help--- Support user-mode Transactional Memory on POWERPC.