summaryrefslogtreecommitdiffstats
path: root/arch/mips/mti-malta
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-07-23 18:59:52 +0200
committerRalf Baechle <ralf@linux-mips.org>2015-08-03 09:25:18 +0200
commit0cb0985f57783c2f3c6c8ffe7e7665e80c56bd92 (patch)
tree597a1674f4afcfcaac8767b1b6cca69db0b8ea2e /arch/mips/mti-malta
parent1e77863a51698c4319587df34171bd823691a66a (diff)
downloadop-kernel-dev-0cb0985f57783c2f3c6c8ffe7e7665e80c56bd92.zip
op-kernel-dev-0cb0985f57783c2f3c6c8ffe7e7665e80c56bd92.tar.gz
MIPS: Export get_c0_perfcount_int()
get_c0_perfcount_int is tested from oprofile code. If oprofile is compiled as module, get_c0_perfcount_int needs to be exported, otherwise it cannot be resolved. Fixes: a669efc4a3b4 ("MIPS: Add hook to get C0 performance counter interrupt") Cc: stable@vger.kernel.org # v3.19+ Signed-off-by: Felix Fietkau <nbd@openwrt.org> Cc: linux-mips@linux-mips.org Cc: abrestic@chromium.org Patchwork: https://patchwork.linux-mips.org/patch/10763/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/mti-malta')
-rw-r--r--arch/mips/mti-malta/malta-time.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/mti-malta/malta-time.c b/arch/mips/mti-malta/malta-time.c
index c1dc730..b7bf721 100644
--- a/arch/mips/mti-malta/malta-time.c
+++ b/arch/mips/mti-malta/malta-time.c
@@ -154,6 +154,7 @@ int get_c0_perfcount_int(void)
return mips_cpu_perf_irq;
}
+EXPORT_SYMBOL_GPL(get_c0_perfcount_int);
unsigned int get_c0_compare_int(void)
{
OpenPOWER on IntegriCloud