Skip to contentSkip to conversation

ARM: perf: re-export release_pmu symbol to modules

PATCH New Will Deacon 1 participant 1 message Nov 14, 2011 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: perf: 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.

---
 arch/arm/kernel/pmu.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/kernel/pmu.c +1 -0
index 2c3407e..2334bf8 100644
@@ -33,3 +33,4 @@ release_pmu(enum arm_pmu_type type)
 {
 	clear_bit_unlock(type, pmu_lock);
 }
+EXPORT_SYMBOL_GPL(release_pmu);
Signature · 1 line
1.7.4.1