ramips: fix performance counters on mt7621
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48069
This commit is contained in:
parent
2004f415bb
commit
140be9f1a5
1 changed files with 16 additions and 0 deletions
|
@ -0,0 +1,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)
|
Loading…
Reference in a new issue