diff options
Diffstat (limited to 'arch/arm/oprofile/common.c')
-rw-r--r-- | arch/arm/oprofile/common.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/oprofile/common.c b/arch/arm/oprofile/common.c index 6f833358cd06..0a007b931f63 100644 --- a/arch/arm/oprofile/common.c +++ b/arch/arm/oprofile/common.c | |||
@@ -135,6 +135,14 @@ 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 | |||
142 | #ifdef CONFIG_OPROFILE_MPCORE | ||
143 | spec = &op_mpcore_spec; | ||
144 | #endif | ||
145 | |||
138 | if (spec) { | 146 | if (spec) { |
139 | ret = spec->init(); | 147 | ret = spec->init(); |
140 | if (ret < 0) | 148 | if (ret < 0) |