aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorMark Rutland <Mark.Rutland@arm.com>2012-09-21 06:53:41 -0400
committerWill Deacon <will.deacon@arm.com>2012-11-09 06:37:25 -0500
commit2a4961ba89ffae388a553175db51dd58ce7c39a8 (patch)
tree284ceeaabaff2c7683eb509a8abcb0926b0d154a /sound
parent7279adbd9bb8ef8ff669da50f0e84c65a14022b5 (diff)
ARM: perf: register cpu_notifier at driver init
The current practice of registering the cpu hotplug notifier at PMU registration time won't be safe with multiple PMUs, as we'll repeatedly attempt to register the notifier. This has the unfortunate effect of silently corrupting the notifier list, leading to boot stalling. Instead, register the notifier at init time. Its sanity checks will prevent anything bad from happening if the notifier is called before we have any PMUs registered. Signed-off-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions