ARM: 5764/1: bcmring: add oprofile pmu support
authorLeo Chen <leochen@broadcom.com>
Thu, 15 Oct 2009 21:45:41 +0000 (22:45 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 17 Oct 2009 19:10:22 +0000 (20:10 +0100)
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>
arch/arm/oprofile/op_model_v6.c

index fe581383d3e264d544a3bf02d142eb8194d81e77..f7d2ec5ee9a1282be6f6089625b97906fbe9df0d 100644 (file)
@@ -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)