diff options
author | Michael Neuling <mikey@neuling.org> | 2014-01-08 05:25:31 -0500 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2014-01-27 10:01:18 -0500 |
commit | 7b37a1232273912dd57cd72b82fe70407bff7683 (patch) | |
tree | 55547c083f046ce7a09c3807fc604087e54c63d5 /arch/powerpc | |
parent | d682916a381ac7c8eb965c10ab64bc7cc2f18647 (diff) |
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 <mikey@neuling.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/Kconfig | 2 |
1 files changed, 2 insertions, 0 deletions
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 | |||
338 | bool "Transactional Memory support for POWERPC" | 338 | bool "Transactional Memory support for POWERPC" |
339 | depends on PPC_BOOK3S_64 | 339 | depends on PPC_BOOK3S_64 |
340 | depends on SMP | 340 | depends on SMP |
341 | select ALTIVEC | ||
342 | select VSX | ||
341 | default n | 343 | default n |
342 | ---help--- | 344 | ---help--- |
343 | Support user-mode Transactional Memory on POWERPC. | 345 | Support user-mode Transactional Memory on POWERPC. |