Skip to content

Commit

Permalink
MIPS: ralink: add missing comment in irq driver
Browse files Browse the repository at this point in the history
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/
  • Loading branch information
John Crispin authored and Ralf Baechle committed May 7, 2013
1 parent 6ac8579 commit 2947382
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/mips/ralink/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2947382

Please sign in to comment.