powerpc/Kconfig: Make TM select VSX and VMX
authorMichael Neuling <mikey@neuling.org>
Wed, 8 Jan 2014 10:25:31 +0000 (21:25 +1100)
committerAlexander Graf <agraf@suse.de>
Mon, 27 Jan 2014 15:01:18 +0000 (16:01 +0100)
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 <mikey@neuling.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/Kconfig

index 4740b0a15fa89b220dd3e36aa7a39b3f5d25dc02..799d758f42c49dfd441c97cf60adcfb16426a9c3 100644 (file)
@@ -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.