[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>
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user