]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
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)
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

index 2c3407ee857675242c874f49adaf9d26339f79bf..2334bf8a650a16a35d5849a4b6c309d5f19eb1f1 100644 (file)
@@ -33,3 +33,4 @@ release_pmu(enum arm_pmu_type type)
 {
        clear_bit_unlock(type, pmu_lock);
 }
+EXPORT_SYMBOL_GPL(release_pmu);