OSDN Git Service

ARM: perf: return NOTIFY_DONE from cpu notifier when no available PMU
authorWill Deacon <will.deacon@arm.com>
Fri, 21 Sep 2012 13:14:17 +0000 (14:14 +0100)
committerWill Deacon <will.deacon@arm.com>
Fri, 9 Nov 2012 11:37:26 +0000 (11:37 +0000)
commit288700d16d4c1479aa00e3db13caed8bb7c83e9f
tree542c0de2197ec348de013d32329d03bb8f81f844
parent2a4961ba89ffae388a553175db51dd58ce7c39a8
ARM: perf: return NOTIFY_DONE from cpu notifier when no available PMU

When attempting to reset the PMU state for either a NULL PMU or a PMU
implementation without a reset function, return NOTIFY_DONE from the CPU
notifier as we don't care about the hotplug event.

Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm/kernel/perf_event_cpu.c