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 07:41:22 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2007-02-06 11:46:44 -0500
commit2d9e1ae06d8f0bb187ea083fabab2dfb6f589270 (patch)
tree645030f8d06f171535483c73a4bce9f64376e3c9 /arch/arm/oprofile/common.c
parentc265a762aa196de11f38f6f44cc817329f32a813 (diff)
[ARM] oprofile: add ARM11 UP support
Add oprofile glue for ARM11 (ARMv6) oprofile support. This connects the ARM11 core profiling support to the oprofile code for uniprocessor configurations. 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 6f833358cd06..f1b24fbd8e67 100644
--- a/arch/arm/oprofile/common.c
+++ b/arch/arm/oprofile/common.c
@@ -135,6 +135,10 @@ int __init oprofile_arch_init(struct oprofile_operations *ops)
135 spec = &op_xscale_spec; 135 spec = &op_xscale_spec;
136#endif 136#endif
137 137
138#ifdef CONFIG_OPROFILE_ARMV6
139 spec = &op_armv6_spec;
140#endif
141
138 if (spec) { 142 if (spec) {
139 ret = spec->init(); 143 ret = spec->init();
140 if (ret < 0) 144 if (ret < 0)