e96a13e48ad20842f675b70b3e3af8f9f29a7f57
[openwrt/svn-archive/archive.git] / target / linux / ramips / patches-3.9 / 0104-MIPS-ralink-add-missing-comment-in-irq-driver.patch
1 From cd202a8165e847e1c7bf8454982149730376f27a Mon Sep 17 00:00:00 2001
2 From: John Crispin <blogic@openwrt.org>
3 Date: Sat, 16 Mar 2013 16:28:54 +0100
4 Subject: [PATCH 104/164] MIPS: ralink: add missing comment in irq driver
5
6 Trivial patch that adds a comment that makes the code more readable.
7
8 Signed-off-by: John Crispin <blogic@openwrt.org>
9 Acked-by: Gabor Juhos <juhosg@openwrt.org>
10 Patchwork: http://patchwork.linux-mips.org/patch/5168/
11 ---
12 arch/mips/ralink/irq.c | 1 +
13 1 file changed, 1 insertion(+)
14
15 diff --git a/arch/mips/ralink/irq.c b/arch/mips/ralink/irq.c
16 index d9807d0..320b1f1 100644
17 --- a/arch/mips/ralink/irq.c
18 +++ b/arch/mips/ralink/irq.c
19 @@ -166,6 +166,7 @@ static int __init intc_of_init(struct device_node *node,
20 irq_set_chained_handler(irq, ralink_intc_irq_handler);
21 irq_set_handler_data(irq, domain);
22
23 + /* tell the kernel which irq is used for performance monitoring */
24 cp0_perfcount_irq = irq_create_mapping(domain, 9);
25
26 return 0;
27 --
28 1.7.10.4
29