diff options
author | Jean PIHET <jpihet@mvista.com> | 2008-08-12 14:07:39 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-09-01 07:06:25 -0400 |
commit | d7ac4e28ccc63ed6b4d67bd9c4a67cb9533eeb45 (patch) | |
tree | 87700e5baf45df18d875fcc4376bf2d17bc441f2 /arch/arm/oprofile/common.c | |
parent | 46097c7dd8bfaf9fb86565b6de45ab5a63afdd53 (diff) |
[ARM] 5195/1: ARMv7 Oprofile support
Add Oprofile kernel support for ARMv7.
Tested on OMAP3430 and OMAP3530 chipsets (Cortex-A8).
Signed-off-by: Jean Pihet <jpihet@mvista.com>
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.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/oprofile/common.c b/arch/arm/oprofile/common.c index 0a5cf3a6438b..3fcd752d6146 100644 --- a/arch/arm/oprofile/common.c +++ b/arch/arm/oprofile/common.c | |||
@@ -145,6 +145,10 @@ int __init oprofile_arch_init(struct oprofile_operations *ops) | |||
145 | spec = &op_mpcore_spec; | 145 | spec = &op_mpcore_spec; |
146 | #endif | 146 | #endif |
147 | 147 | ||
148 | #ifdef CONFIG_OPROFILE_ARMV7 | ||
149 | spec = &op_armv7_spec; | ||
150 | #endif | ||
151 | |||
148 | if (spec) { | 152 | if (spec) { |
149 | ret = spec->init(); | 153 | ret = spec->init(); |
150 | if (ret < 0) | 154 | if (ret < 0) |