summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/cell/cbe_regs.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/platforms/cell/cbe_regs.h')
-rw-r--r--arch/powerpc/platforms/cell/cbe_regs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/cell/cbe_regs.h b/arch/powerpc/platforms/cell/cbe_regs.h
index d352f110ef9c..91083f51a0cb 100644
--- a/arch/powerpc/platforms/cell/cbe_regs.h
+++ b/arch/powerpc/platforms/cell/cbe_regs.h
@@ -35,6 +35,11 @@
*
*/
+/* Macros for the pm_control register. */
+#define CBE_PM_16BIT_CTR(ctr) (1 << (24 - ((ctr) & (NR_PHYS_CTRS - 1))))
+#define CBE_PM_ENABLE_PERF_MON 0x80000000
+
+
union spe_reg {
u64 val;
u8 spe[8];
OpenPOWER on IntegriCloud