powerpc: Add config option for transactional memory
authorMichael Neuling <mikey@neuling.org>
Wed, 13 Feb 2013 16:21:43 +0000 (16:21 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 15 Feb 2013 06:02:24 +0000 (17:02 +1100)
Kconfig option for transactional memory on powerpc.

Signed-off-by: Matt Evans <matt@ozlabs.org>
Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/Kconfig

index 4b27edbdb799794573243ddc45e538ce3847f65a..85ff3a0803609588f5a5453538391a99aa042e00 100644 (file)
@@ -313,6 +313,14 @@ config MATH_EMULATION
          unit, which will allow programs that use floating-point
          instructions to run.
 
+config PPC_TRANSACTIONAL_MEM
+       bool "Transactional Memory support for POWERPC"
+       depends on PPC_BOOK3S_64
+       depends on SMP
+       default n
+       ---help---
+         Support user-mode Transactional Memory on POWERPC.
+
 config 8XX_MINIMAL_FPEMU
        bool "Minimal math emulation for 8xx"
        depends on 8xx && !MATH_EMULATION