]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Mon, 15 Oct 2012 12:58:07 +0000 (13:58 +0100)
commit89f3d7ea1521ee0ccec5eefd26a9f0d159a664b7
treedec023d451cab6d99458c4ba6544e1e31372d922
parente528b94f2ae357e1d17bc0fdd2bdb8311055e99c
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