[01/17] powerpc: Add new CPU feature bit for transactional memory

Submitted by Michael Neuling on Jan. 18, 2013, 5:48 a.m.


Message ID 1358488117-17363-2-git-send-email-mikey@neuling.org
State Changes Requested
Delegated to: Benjamin Herrenschmidt
Headers show

Commit Message

Michael Neuling Jan. 18, 2013, 5:48 a.m.
Signed-off-by: Matt Evans <matt@ozlabs.org>
Signed-off-by: Michael Neuling <mikey@neuling.org>
 arch/powerpc/include/asm/cputable.h |    7 +++++++
 1 file changed, 7 insertions(+)

Patch hide | download patch | download mbox

diff --git a/arch/powerpc/include/asm/cputable.h b/arch/powerpc/include/asm/cputable.h
index 06f7fb9..71a498b 100644
--- a/arch/powerpc/include/asm/cputable.h
+++ b/arch/powerpc/include/asm/cputable.h
@@ -220,6 +220,13 @@  extern const char *powerpc_base_platform;
+/* We only set the TM feature if the kernel was compiled with TM supprt */
+#define CPU_FTR_TM_COMP		0
 /* We need to mark all pages as being coherent if we're SMP or we have a
  * 74[45]x and an MPC107 host bridge. Also 83xx and PowerQUICC II
  * require it for PCI "streaming/prefetch" to work properly.