From: leochen@broadcom.com (Leo (Hao) Chen)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] bcmring: add oprofile pmu support
Date: Thu, 8 Oct 2009 14:33:13 -0700 [thread overview]
Message-ID: <20091008213313.GQ4708@broadcom.com> (raw)
Hi,
The patch is to add oprofile pmu support for bcmring arch.
Thanks,
Leo
From: Leo Chen <leochen@broadcom.com>
Date: Thu, 8 Oct 2009 14:28:35 -0700
Subject: [PATCH] bcmring: add oprofile pmu support
oprofile pmu support for bcmring arch.
Signed-off-by: Leo Hao Chen <leochen@broadcom.com>
---
arch/arm/oprofile/op_model_v6.c | 3 +++
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 fe58138..f7d2ec5 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)
--
1.6.0.6
--
Leo Hao Chen
------------------------
Life is short, run long.
reply other threads:[~2009-10-08 21:33 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20091008213313.GQ4708@broadcom.com \
--to=leochen@broadcom.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).