[15/17] powerpc: Add config option for transactional memory

Message ID 1360808505-10086-16-git-send-email-mikey@neuling.org
State Accepted, archived
Commit 3d72bbc40777437a78db70e398981c828240c81f
Delegated to: Benjamin Herrenschmidt
Headers show

Commit Message

Michael Neuling Feb. 14, 2013, 2:21 a.m.
Kconfig option for transactional memory on powerpc.

Signed-off-by: Matt Evans <matt@ozlabs.org>
Signed-off-by: Michael Neuling <mikey@neuling.org>
 arch/powerpc/Kconfig |    8 ++++++++
 1 file changed, 8 insertions(+)


diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 4b27edb..85ff3a0 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -313,6 +313,14 @@  config MATH_EMULATION
 	  unit, which will allow programs that use floating-point
 	  instructions to run.
+       bool "Transactional Memory support for POWERPC"
+       depends on PPC_BOOK3S_64
+       depends on SMP
+       default n
+       ---help---
+         Support user-mode Transactional Memory on POWERPC.
 	bool "Minimal math emulation for 8xx"
 	depends on 8xx && !MATH_EMULATION