summaryrefslogtreecommitdiff
path: root/arch/mips
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2013-03-16 15:28:54 (GMT)
committerRalf Baechle <ralf@linux-mips.org>2013-05-07 23:19:08 (GMT)
commit29473822943ab5357cf3fcb718483f07f3188b83 (patch)
tree89a2fe5f1ef0ad948e571d0bb83c1f9011b0ea01 /arch/mips
parent6ac8579b96e3bc3581c3a42b326647594e5bbb03 (diff)
downloadlinux-fsl-qoriq-29473822943ab5357cf3fcb718483f07f3188b83.tar.xz
MIPS: ralink: add missing comment in irq driver
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/
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/ralink/irq.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/ralink/irq.c b/arch/mips/ralink/irq.c
index d9807d0..320b1f1 100644
--- a/arch/mips/ralink/irq.c
+++ b/arch/mips/ralink/irq.c
@@ -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;