OpenCloudOS-Kernel/drivers/perf
Mark Salter f7a6c1492a arm: pmu: Fix non-devicetree probing
There is a problem in the non-devicetree PMU probing where some
probe functions may get the number of supported events through
smp_call_function_any() using the arm_pmu supported_cpus mask.
But at the time the probe function is called, the supported_cpus
mask is empty so the call fails. This patch makes sure the mask
is set before calling the init function rather than after.

Signed-off-by: Mark Salter <msalter@redhat.com>
Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
2016-06-15 09:51:35 +01:00
..
Kconfig arm64: perf: move to shared arm_pmu framework 2015-10-07 14:24:48 +01:00
Makefile
arm_pmu.c arm: pmu: Fix non-devicetree probing 2016-06-15 09:51:35 +01:00