MIPS: Export get_c0_perfcount_int()
authorFelix Fietkau <nbd@openwrt.org>
Thu, 23 Jul 2015 16:59:52 +0000 (18:59 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Aug 2015 03:52:07 +0000 (20:52 -0700)
commit6adda660861c3dbdc41629bef2b9d6ffad783be6
treed6a545664807a4e28fbf0633f280820dbe3398d2
parent6300e59fa9852292d2fafc733e75b449b2286d8e
MIPS: Export get_c0_perfcount_int()

commit 0cb0985f57783c2f3c6c8ffe7e7665e80c56bd92 upstream.

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")
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/mips/ath79/setup.c
arch/mips/lantiq/irq.c
arch/mips/mti-malta/malta-time.c
arch/mips/mti-sead3/sead3-time.c
arch/mips/pistachio/time.c
arch/mips/ralink/irq.c