[PATCH 1/6] ARM: perf-events: add Realview PMU IRQs to pmu.c
Will Deacon
will.deacon at arm.com
Wed Mar 10 05:41:25 EST 2010
Add the PMU IRQs for the Realview boards to kernel/pmu.c so that
they can be used by the perf-events framework.
Signed-off-by: Will Deacon <will.deacon at arm.com>
---
arch/arm/kernel/pmu.c | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/arch/arm/kernel/pmu.c b/arch/arm/kernel/pmu.c
index a124312..11a321e 100644
--- a/arch/arm/kernel/pmu.c
+++ b/arch/arm/kernel/pmu.c
@@ -36,6 +36,20 @@ static const int irqs[] = {
IRQ_EB11MP_PMU_CPU1,
IRQ_EB11MP_PMU_CPU2,
IRQ_EB11MP_PMU_CPU3,
+#elif defined(CONFIG_MACH_REALVIEW_PB1176)
+ IRQ_DC1176_CORE_PMU,
+#elif defined(CONFIG_MACH_REALVIEW_PB11MP)
+ IRQ_TC11MP_PMU_CPU0,
+ IRQ_TC11MP_PMU_CPU1,
+ IRQ_TC11MP_PMU_CPU2,
+ IRQ_TC11MP_PMU_CPU3,
+#elif defined(CONFIG_MACH_REALVIEW_PBA8)
+ IRQ_PBA8_PMU,
+#elif defined(CONFIG_MACH_REALVIEW_PBX)
+ IRQ_PBX_PMU_CPU0,
+ IRQ_PBX_PMU_CPU1,
+ IRQ_PBX_PMU_CPU2,
+ IRQ_PBX_PMU_CPU3,
#elif defined(CONFIG_ARCH_OMAP3)
INT_34XX_BENCH_MPU_EMUL,
#elif defined(CONFIG_ARCH_IOP32X)
--
1.6.3.3
More information about the linux-arm-kernel
mailing list