commit | 0cb0985f57783c2f3c6c8ffe7e7665e80c56bd92 | [log] [tgz] |
---|---|---|
author | Felix Fietkau <[email protected]> | Thu Jul 23 18:59:52 2015 +0200 |
committer | Ralf Baechle <[email protected]> | Mon Aug 03 09:25:18 2015 +0200 |
tree | 597a1674f4afcfcaac8767b1b6cca69db0b8ea2e | |
parent | 1e77863a51698c4319587df34171bd823691a66a [diff] [blame] |
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: [email protected] # v3.19+ Signed-off-by: Felix Fietkau <[email protected]> Cc: [email protected] Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/10763/ Signed-off-by: Ralf Baechle <[email protected]>
diff --git a/arch/mips/ralink/irq.c b/arch/mips/ralink/irq.c index 53707aa..8c624a8 100644 --- a/arch/mips/ralink/irq.c +++ b/arch/mips/ralink/irq.c
@@ -89,6 +89,7 @@ { return rt_perfcount_irq; } +EXPORT_SYMBOL_GPL(get_c0_perfcount_int); unsigned int get_c0_compare_int(void) {