ARM: perf: de-const struct arm_pmu
authorMark Rutland <mark.rutland@arm.com>
Fri, 15 Apr 2011 10:14:38 +0000 (11:14 +0100)
committerWill Deacon <will.deacon@arm.com>
Wed, 31 Aug 2011 09:16:58 +0000 (10:16 +0100)
commita6c93afed38c242ccf4ec5bcb5ff26ff2521cf36
treee99c2b3f3d03df77d497907afff9b7310b772fd1
parent90e93648c41bd29a72f6ec55ce27a23c209eab8c
ARM: perf: de-const struct arm_pmu

This patch removes const qualifiers from instances of struct arm_pmu,
and functions initialising them, in preparation for generalising
arm_pmu usage to system (AKA uncore) PMUs.

This will allow for dynamically modifiable structures (locks,
struct pmu) to be added as members of struct arm_pmu.

Acked-by: Jamie Iles <jamie@jamieiles.com>
Reviewed-by: Jean Pihet <j-pihet@ti.com>
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm/kernel/perf_event.c
arch/arm/kernel/perf_event_v6.c
arch/arm/kernel/perf_event_v7.c
arch/arm/kernel/perf_event_xscale.c