summaryrefslogtreecommitdiff
path: root/arch/arm/oprofile
diff options
context:
space:
mode:
authorLeo Chen <leochen@broadcom.com>2009-10-15 22:45:41 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-10-17 20:10:22 +0100
commit8c5b0f9a85cd78e98123417a8e9d58857968ff13 (patch)
tree6ac627805ce897f94a4ff9784feceaa17da621af /arch/arm/oprofile
parent50ad5f591bf0d2c877cb3689be01bea9eefdeb2b (diff)
ARM: 5764/1: bcmring: add oprofile pmu support
add oprofile pmu support for bcmring. Signed-off-by: Leo Hao Chen <leochen@broadcom.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/oprofile')
-rw-r--r--arch/arm/oprofile/op_model_v6.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/oprofile/op_model_v6.c b/arch/arm/oprofile/op_model_v6.c
index fe581383d3e2..f7d2ec5ee9a1 100644
--- a/arch/arm/oprofile/op_model_v6.c
+++ b/arch/arm/oprofile/op_model_v6.c
@@ -33,6 +33,9 @@ static int irqs[] = {
#ifdef CONFIG_ARCH_OMAP2
3,
#endif
+#ifdef CONFIG_ARCH_BCMRING
+ IRQ_PMUIRQ, /* for BCMRING, ARM PMU interrupt is 43 */
+#endif
};
static void armv6_pmu_stop(void)