ARM: perf: fix prototype of release_pmu
authorMark Rutland <Mark.Rutland@arm.com>
Wed, 10 Aug 2011 09:20:17 +0000 (10:20 +0100)
committerJason Kridner <jdk@ti.com>
Sat, 17 Sep 2011 13:14:25 +0000 (09:14 -0400)
commita2a57eac168d1d0df2f20e81c14738b0ad939e00
tree9bdc5f97df36fff0707a775610f9eab3f8155ac9
parent2a9ff7290d9c43b91b02df18c093438ede2433f7
ARM: perf: fix prototype of release_pmu

Commit  f12482c9 ("ARM: 6974/1: pmu: refactor reservation") changed the
prototype of release_pmu, but missed the stub for when
CONFIG_CPU_HAS_PMU is not selected by the platform.

This patch changes the prototype of the stub, preventing possible build
failures when CONFIG_CPU_HAS_PMU is not selected.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
(cherry picked from commit 49bef8331afefa4dd75f7124c50bde47168f5492)
arch/arm/include/asm/pmu.h