aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/patches-4.3/0903-mt7621-fix-gic-perfcounter.patch
blob: bb19511a1198e4ddf4470a5f63971c4ec75982f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- a/arch/mips/ralink/irq-gic.c
+++ b/arch/mips/ralink/irq-gic.c
@@ -2,6 +2,13 @@
 
 #include <linux/of.h>
 #include <linux/irqchip.h>
+#include <linux/irqchip/mips-gic.h>
+
+int get_c0_perfcount_int(void)
+{
+	return gic_get_c0_perfcount_int();
+}
+EXPORT_SYMBOL_GPL(get_c0_perfcount_int);
 
 void __init
 arch_init_irq(void)