aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/oprofile/common.c
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2006-12-19 09:17:46 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2007-02-06 11:46:45 -0500
commit10c03f69680e9e2acd8a9409a230aef37295ac49 (patch)
tree7ac927b0e93b20584f25de300ec2a4b2803c8529 /arch/arm/oprofile/common.c
parent2d9e1ae06d8f0bb187ea083fabab2dfb6f589270 (diff)
[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)
139 spec = &op_armv6_spec; 139 spec = &op_armv6_spec;
140#endif 140#endif
141 141
142#ifdef CONFIG_OPROFILE_MPCORE
143 spec = &op_mpcore_spec;
144#endif
145
142 if (spec) { 146 if (spec) {
143 ret = spec->init(); 147 ret = spec->init();
144 if (ret < 0) 148 if (ret < 0)