perf/arm-ccn: Clean up CPU hotplug handling
authorRobin Murphy <robin.murphy@arm.com>
Tue, 16 Apr 2019 15:24:25 +0000 (16:24 +0100)
committerWill Deacon <will.deacon@arm.com>
Tue, 23 Apr 2019 11:29:37 +0000 (12:29 +0100)
commit9bcb929f969e4054732158908b1d70e787ef780f
tree296a14430067d951ca84e92cf9c8b254a62d3d68
parent0d2e2a82d4de298d006bf8eddc86829e3c7da820
perf/arm-ccn: Clean up CPU hotplug handling

Like arm-cci, arm-ccn has the same issue of disabling preemption around
operations which can take mutexes. Again, remove the definite bug by
simply not trying to fight the theoretical races. And since we are
touching the hotplug handling code, take the opportunity to streamline
it, as there's really no need to store a full-sized cpumask to keep
track of a single CPU ID.

Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
drivers/perf/arm-ccn.c