ARM: PMU: re-export release_pmu symbol to modules
authorWill Deacon <will.deacon@arm.com>
Mon, 14 Nov 2011 16:12:52 +0000 (16:12 +0000)
committerWill Deacon <will.deacon@arm.com>
Wed, 16 Nov 2011 10:06:42 +0000 (10:06 +0000)
commitec84d529b689f4ae31813cf74673f3271c36c83a
treee89f17c7d1f70fa0aa1ec0fa6febf3f51bdfcce4
parentcfcfc9eca2bcbd26a8e206baeb005b055dbf8e37
ARM: PMU: re-export release_pmu symbol to modules

Commit b0e89590 ("ARM: PMU: move CPU PMU platform device handling and
init into perf") inadvertently removed the EXPORT_SYMBOL_GPL on
release_pmu, so out-of-tree modules can no longer play nice with perf,
even if they tried in the first place.

This patch re-exports the symbol.

Reported-by: Jon Medhurst (Tixy) <jon.medhurst@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm/kernel/pmu.c