7580ea0687dff2240beaf564d4767de8e0d957e3
[openwrt.git] / target / linux / ramips / patches-3.8 / 0101-MIPS-ralink-add-missing-comment-in-irq-driver.patch
1 From 68dba842ed23c9688340444b44951c448f4ff9ba 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 101/121] 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 ---
10  arch/mips/ralink/irq.c |    1 +
11  1 file changed, 1 insertion(+)
12
13 diff --git a/arch/mips/ralink/irq.c b/arch/mips/ralink/irq.c
14 index 6d054c5..ed613b0 100644
15 --- a/arch/mips/ralink/irq.c
16 +++ b/arch/mips/ralink/irq.c
17 @@ -162,6 +162,7 @@ static int __init intc_of_init(struct device_node *node,
18         irq_set_chained_handler(irq, ralink_intc_irq_handler);
19         irq_set_handler_data(irq, domain);
20  
21 +       /* tell the kernel which irq is used for performance monitoring */
22         cp0_perfcount_irq = irq_create_mapping(domain, 9);
23  
24         return 0;
25 -- 
26 1.7.10.4
27