ARM: perf: allocate CPU PMU dynamically at probe time
authorSudeep KarkadaNagesha <Sudeep.KarkadaNagesha@arm.com>
Tue, 31 Jul 2012 09:11:23 +0000 (10:11 +0100)
committerWill Deacon <will.deacon@arm.com>
Fri, 9 Nov 2012 11:37:25 +0000 (11:37 +0000)
Supporting multiple, heterogeneous CPU PMUs requires us to allocate the
arm_pmu structures dynamically as the devices are probed.

This patch removes the static structure definitions for each CPU PMU
type and instead passes pointers to the PMU-specific init functions.

Signed-off-by: Sudeep KarkadaNagesha <Sudeep.KarkadaNagesha@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>

No differences found