ARM: 5901/2: arm/oprofile: reserve the PMU when starting
authorJamie Iles <jamie.iles@picochip.com>
Tue, 2 Feb 2010 19:24:07 +0000 (20:24 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 12 Feb 2010 17:23:43 +0000 (17:23 +0000)
commit1618fdd9602c689de2f820a88cb3e283a39c3d90
treebe2cec6548d61dc83b7fc538fa929533f9cb9112
parent0f4f0672ac950c96cffaf84a666d35e817d7c3ca
ARM: 5901/2: arm/oprofile: reserve the PMU when starting

Make sure that we have access to the performance counters and
that they aren't being used by perf events or anything else.

Cc: Will Deacon <will.deacon@arm.com>
Cc: Jean Pihet <jpihet@mvista.com>
Signed-off-by: Jamie Iles <jamie.iles@picochip.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/oprofile/op_model_arm11_core.c
arch/arm/oprofile/op_model_arm11_core.h
arch/arm/oprofile/op_model_mpcore.c
arch/arm/oprofile/op_model_v6.c
arch/arm/oprofile/op_model_v7.c
arch/arm/oprofile/op_model_v7.h
arch/arm/oprofile/op_model_xscale.c