ramips: fix use remove_irq to release irqaction resource
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 5 Oct 2015 10:27:04 +0000 (10:27 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 5 Oct 2015 10:27:04 +0000 (10:27 +0000)
Signed-off-by: Michael Lee <igvtee@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47121 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/ramips/patches-3.18/0017-MIPS-use-set_mode-to-enable-disable-the-cevt-r4k-irq.patch

index 310d362..6bf0401 100644 (file)
@@ -47,7 +47,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
 +                      break;
 +
 +              cp0_timer_irq_installed = 0;
-+              free_irq(evt->irq, &c0_compare_irqaction);
++              remove_irq(evt->irq, &c0_compare_irqaction);
 +              break;
 +
 +      default: