mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-14 17:00:18 +00:00
17 lines
328 B
Diff
17 lines
328 B
Diff
|
--- 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)
|