110-interrupt_fix.patch 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. --- a/tn7atm.c
  2. +++ b/tn7atm.c
  3. @@ -566,7 +566,7 @@ static int turbodsl_check_priority_type(
  4. * Description: tnetd73xx SAR interrupt.
  5. *
  6. *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
  7. -static void tn7atm_sar_irq (int irq, void *voiddev, struct pt_regs *regs)
  8. +static irqreturn_t tn7atm_sar_irq (int irq, void *voiddev)
  9. {
  10. struct atm_dev *atmdev;
  11. Tn7AtmPrivate *priv;
  12. @@ -593,6 +593,7 @@ static void tn7atm_sar_irq (int irq, voi
  13. #ifdef TIATM_INST_SUPP
  14. psp_trace_par (ATM_DRV_SAR_ISR_EXIT, retval);
  15. #endif
  16. + return IRQ_HANDLED;
  17. }
  18. /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  19. @@ -602,7 +603,7 @@ static void tn7atm_sar_irq (int irq, voi
  20. * Description: tnetd73xx DSL interrupt.
  21. *
  22. *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
  23. -static void tn7atm_dsl_irq (int irq, void *voiddev, struct pt_regs *regs)
  24. +static irqreturn_t tn7atm_dsl_irq (int irq, void *voiddev)
  25. {
  26. struct atm_dev *atmdev;
  27. Tn7AtmPrivate *priv;
  28. @@ -624,6 +625,8 @@ static void tn7atm_dsl_irq (int irq, voi
  29. #ifdef TIATM_INST_SUPP
  30. psp_trace_par (ATM_DRV_DSL_ISR_EXIT, retval);
  31. #endif
  32. +
  33. + return IRQ_HANDLED;
  34. }
  35. /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~