ARM: perf: move arm_pmu into <asm/pmu.h>
authorMark Rutland <mark.rutland@arm.com>
Thu, 19 May 2011 09:07:57 +0000 (10:07 +0100)
committerWill Deacon <will.deacon@arm.com>
Wed, 31 Aug 2011 09:50:13 +0000 (10:50 +0100)
commit0ce47080dfffe71edd433b35dcdada24c61079eb
tree93b84dc2cbfae0cb4dd59450a880db2c742b4117
parent8be3f9a2385f91f7bf5c58f351e24b9247898e8f
ARM: perf: move arm_pmu into <asm/pmu.h>

Currently, struct arm_pmu and related functions are only visible to
{,arch/arm/}/kernel/perf_event.c. This prevents new drivers from using
the framework.

This patch  moves declarations to asm/pmu.h, allowing new PMU drivers
to use the framework.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Will Deacon <will.deacon@arm.com>
Reviewed-by: Jamie Iles <jamie@jamieiles.com>
Reviewed-by: Ashwin Chaugule <ashwinc@codeaurora.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm/include/asm/pmu.h
arch/arm/kernel/perf_event.c