summaryrefslogtreecommitdiffstats
path: root/arch/arm/oprofile
diff options
context:
space:
mode:
authorLeo Chen <leochen@broadcom.com>2009-10-15 23:45:41 +0200
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-10-17 21:10:22 +0200
commit8c5b0f9a85cd78e98123417a8e9d58857968ff13 (patch)
tree6ac627805ce897f94a4ff9784feceaa17da621af /arch/arm/oprofile
parentMerge branch 'fix' of git://git.kernel.org/pub/scm/linux/kernel/git/ycmiao/px... (diff)
downloadlinux-8c5b0f9a85cd78e98123417a8e9d58857968ff13.tar.xz
linux-8c5b0f9a85cd78e98123417a8e9d58857968ff13.zip
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)