summaryrefslogtreecommitdiff
path: root/arch/arm64/include/asm/spinlock.h
diff options
context:
space:
mode:
authorMark Salter <msalter@redhat.com>2016-06-07 11:32:21 -0500
committerWill Deacon <will.deacon@arm.com>2016-06-15 09:51:35 +0100
commitf7a6c1492a2cb596952260a7d5bb0d61ca815173 (patch)
tree966c8e457ba6986a2fa9a23119511f6fe626c9b8 /arch/arm64/include/asm/spinlock.h
parentbbb1681ee3653bdcfc6a4ba31902738118311fd4 (diff)
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>
Diffstat (limited to 'arch/arm64/include/asm/spinlock.h')
0 files changed, 0 insertions, 0 deletions