MIPS: ralink: add missing comment in irq driver
authorJohn Crispin <blogic@openwrt.org>
Sat, 16 Mar 2013 15:28:54 +0000 (16:28 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 7 May 2013 23:19:08 +0000 (01:19 +0200)
Trivial patch that adds a comment that makes the code more readable.

Signed-off-by: John Crispin <blogic@openwrt.org>
Acked-by: Gabor Juhos <juhosg@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/5168/

arch/mips/ralink/irq.c

index d9807d0587cdf9fbe05bff77b9669346eb9f029d..320b1f1043fff108854ac7bab56ae1cf37e5699f 100644 (file)
@@ -166,6 +166,7 @@ static int __init intc_of_init(struct device_node *node,
        irq_set_chained_handler(irq, ralink_intc_irq_handler);
        irq_set_handler_data(irq, domain);
 
+       /* tell the kernel which irq is used for performance monitoring */
        cp0_perfcount_irq = irq_create_mapping(domain, 9);
 
        return 0;