[toolchain] add gfortran compiler support (#9600, patch from Xiangfu Liu via Qi hardware)
[openwrt.git] / package / ar7-atm / patches-D7.05.01.00 / 110-interrupt_fix.patch
1 Index: sangam_atm-D7.05.01.00/tn7atm.c
2 ===================================================================
3 --- sangam_atm-D7.05.01.00.orig/tn7atm.c 2010-03-07 18:09:13.000000000 +0100
4 +++ sangam_atm-D7.05.01.00/tn7atm.c 2010-03-07 18:09:21.000000000 +0100
5 @@ -633,7 +633,7 @@
6 * Description: tnetd73xx SAR interrupt.
7 *
8 *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
9 -static void tn7atm_sar_irq (int irq, void *voiddev, struct pt_regs *regs)
10 +static irqreturn_t tn7atm_sar_irq (int irq, void *voiddev)
11 {
12 struct atm_dev *atmdev;
13 Tn7AtmPrivate *priv;
14 @@ -660,6 +660,7 @@
15 #ifdef TIATM_INST_SUPP
16 psp_trace_par (ATM_DRV_SAR_ISR_EXIT, retval);
17 #endif
18 + return IRQ_HANDLED;
19 }
20
21 /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
22 @@ -669,7 +670,7 @@
23 * Description: tnetd73xx DSL interrupt.
24 *
25 *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
26 -static void tn7atm_dsl_irq (int irq, void *voiddev, struct pt_regs *regs)
27 +static irqreturn_t tn7atm_dsl_irq (int irq, void *voiddev)
28 {
29 struct atm_dev *atmdev;
30 Tn7AtmPrivate *priv;
31 @@ -691,6 +692,8 @@
32 #ifdef TIATM_INST_SUPP
33 psp_trace_par (ATM_DRV_DSL_ISR_EXIT, retval);
34 #endif
35 +
36 + return IRQ_HANDLED;
37 }
38
39 /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This page took 0.041973 seconds and 5 git commands to generate.