summaryrefslogtreecommitdiff
path: root/arch/arm/oprofile/common.c
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2006-12-19 17:17:46 +0300
committerRussell King <rmk+kernel@arm.linux.org.uk>2007-02-06 19:46:45 +0300
commit10c03f69680e9e2acd8a9409a230aef37295ac49 (patch)
tree7ac927b0e93b20584f25de300ec2a4b2803c8529 /arch/arm/oprofile/common.c
parent2d9e1ae06d8f0bb187ea083fabab2dfb6f589270 (diff)
downloadlinux-10c03f69680e9e2acd8a9409a230aef37295ac49.tar.xz
[ARM] oprofile: add ARM11 SMP support
Add the glue for ARM11 SMP oprofile support, which also supports the performance monitor in the coherency unit. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/oprofile/common.c')
-rw-r--r--arch/arm/oprofile/common.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/oprofile/common.c b/arch/arm/oprofile/common.c
index f1b24fbd8e67..0a007b931f63 100644
--- a/arch/arm/oprofile/common.c
+++ b/arch/arm/oprofile/common.c
@@ -139,6 +139,10 @@ int __init oprofile_arch_init(struct oprofile_operations *ops)
spec = &op_armv6_spec;
#endif
+#ifdef CONFIG_OPROFILE_MPCORE
+ spec = &op_mpcore_spec;
+#endif
+
if (spec) {
ret = spec->init();
if (ret < 0)