diff options
author | Will Deacon <will.deacon@arm.com> | 2011-11-14 16:12:52 +0000 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2011-11-16 10:06:42 +0000 |
commit | ec84d529b689f4ae31813cf74673f3271c36c83a (patch) | |
tree | e89f17c7d1f70fa0aa1ec0fa6febf3f51bdfcce4 /arch/arm/kernel/pmu.c | |
parent | cfcfc9eca2bcbd26a8e206baeb005b055dbf8e37 (diff) | |
download | talos-obmc-linux-ec84d529b689f4ae31813cf74673f3271c36c83a.tar.gz talos-obmc-linux-ec84d529b689f4ae31813cf74673f3271c36c83a.zip |
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>
Diffstat (limited to 'arch/arm/kernel/pmu.c')
-rw-r--r-- | arch/arm/kernel/pmu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/kernel/pmu.c b/arch/arm/kernel/pmu.c index 2c3407ee8576..2334bf8a650a 100644 --- a/arch/arm/kernel/pmu.c +++ b/arch/arm/kernel/pmu.c @@ -33,3 +33,4 @@ release_pmu(enum arm_pmu_type type) { clear_bit_unlock(type, pmu_lock); } +EXPORT_SYMBOL_GPL(release_pmu); |