Skip to contentSkip to conversation

bcmring: add oprofile pmu support

PATCH New Leo (Hao) Chen 1 participant 1 message Oct 8, 2009 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bcmring: add oprofile pmu support

Hi,

The patch is to add oprofile pmu support for bcmring arch.

Thanks,

Leo

From: Leo Chen <[email protected]>
Date: Thu, 8 Oct 2009 14:28:35 -0700
Subject: [PATCH] bcmring: add oprofile pmu support

oprofile pmu support for bcmring arch.

---
 arch/arm/oprofile/op_model_v6.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
arch/arm/oprofile/op_model_v6.c +3 -0
index fe58138..f7d2ec5 100644
@@ -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)
Signature · 8 lines
1.6.0.6

-- 

Leo Hao Chen

------------------------
Life is short, run long.