ARM: perf: add _init() functions to PMUs
authorWill Deacon <will.deacon@arm.com>
Sat, 13 Nov 2010 17:37:46 +0000 (17:37 +0000)
committerWill Deacon <will.deacon@arm.com>
Thu, 25 Nov 2010 16:52:07 +0000 (16:52 +0000)
commit3cb314bae2191b432a7e898abf865db880f6d07d
tree2e815f3f7277467c837963064684c5bb1cc4abf7
parent59a98a1e56edea4d7d9c5f4ce9d50e271a04993c
ARM: perf: add _init() functions to PMUs

In preparation for separating the PMU-specific code, this patch adds
self-contained init functions to each PMU, therefore removing any
PMU-specific knowledge from the PMU-agnostic init_hw_perf_events
function.

Acked-by: Jamie Iles <jamie@jamieiles.com>
Acked-by: Jean Pihet <j-pihet@ti.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm/kernel/perf_event.c