OpenWrt – Blame information for rev 4
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
4 | office | 1 | --- a/arch/mips/ralink/irq-gic.c |
2 | +++ b/arch/mips/ralink/irq-gic.c |
||
3 | @@ -15,6 +15,12 @@ |
||
4 | |||
5 | int get_c0_perfcount_int(void) |
||
6 | { |
||
7 | + /* |
||
8 | + * Performance counter events are routed through GIC. |
||
9 | + * Prevent them from firing on CPU IRQ7 as well |
||
10 | + */ |
||
11 | + clear_c0_status(IE_SW0 << 7); |
||
12 | + |
||
13 | return gic_get_c0_perfcount_int(); |
||
14 | } |
||
15 | EXPORT_SYMBOL_GPL(get_c0_perfcount_int); |