diff options
author | Jean PIHET <jpihet@mvista.com> | 2008-08-12 20:07:39 +0200 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-09-01 13:06:25 +0200 |
commit | d7ac4e28ccc63ed6b4d67bd9c4a67cb9533eeb45 (patch) | |
tree | 87700e5baf45df18d875fcc4376bf2d17bc441f2 /arch/arm/oprofile/common.c | |
parent | [ARM] cachetype: move definitions to separate header (diff) | |
download | linux-d7ac4e28ccc63ed6b4d67bd9c4a67cb9533eeb45.tar.xz linux-d7ac4e28ccc63ed6b4d67bd9c4a67cb9533eeb45.zip |
[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) spec = &op_mpcore_spec; #endif +#ifdef CONFIG_OPROFILE_ARMV7 + spec = &op_armv7_spec; +#endif + if (spec) { ret = spec->init(); if (ret < 0) |