1 --- a/arch/mips/ralink/irq-gic.c
2 +++ b/arch/mips/ralink/irq-gic.c
5 int get_c0_perfcount_int(void)
8 + * Performance counter events are routed through GIC.
9 + * Prevent them from firing on CPU IRQ7 as well
11 + clear_c0_status(IE_SW0 << 7);
13 return gic_get_c0_perfcount_int();
15 EXPORT_SYMBOL_GPL(get_c0_perfcount_int);