[PATCH] OMAP3: pmu: make CPU_HAS_PMU dependent on OMAP3_EMU

From
Will Deacon <hidden>
Date
2010-06-16 12:33:22
Reply to
Jean Pihet, 2010-06-16
Jean,
quoted
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 1f254bd..98922f7 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -955,7 +955,8 @@ config XSCALE_PMU
       default y

 config CPU_HAS_PMU
-       depends on CPU_V6 || CPU_V7 || XSCALE_PMU
+       depends on (CPU_V6 || CPU_V7 || XSCALE_PMU) && \
+                  (!ARCH_OMAP3 || OMAP3_EMU)
       default y
       bool

--
1.6.3.3
The patch nicely fixes the issue. Tested with Oprofile on OMAP3530
EVM. RETention and OFF power modes succesfully tested.

Acked-by: Jean Pihet <redacted>
Brilliant - thanks for testing this.
Tony: would you mind picking this patch up please or would
you prefer that I posted it to Russell's patch system?

Thanks,

Will
Thread (5 messages) 5 messages, 3 authors, last reply 2010-07-01
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help