[OpenWrt-Devel] [PATCH 1/7] ramips: fix use remove_irq to release irqaction resource

Michael Lee igvtee at gmail.com
Tue Sep 22 09:25:57 EDT 2015


From: michael lee <igvtee at gmail.com>

Signed-off-by: Michael Lee <igvtee at gmail.com>
---
 .../0017-MIPS-use-set_mode-to-enable-disable-the-cevt-r4k-irq.patch     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/ramips/patches-3.18/0017-MIPS-use-set_mode-to-enable-disable-the-cevt-r4k-irq.patch b/target/linux/ramips/patches-3.18/0017-MIPS-use-set_mode-to-enable-disable-the-cevt-r4k-irq.patch
index 310d362..6bf0401 100644
--- a/target/linux/ramips/patches-3.18/0017-MIPS-use-set_mode-to-enable-disable-the-cevt-r4k-irq.patch
+++ b/target/linux/ramips/patches-3.18/0017-MIPS-use-set_mode-to-enable-disable-the-cevt-r4k-irq.patch
@@ -47,7 +47,7 @@ Signed-off-by: John Crispin <blogic at openwrt.org>
 +			break;
 +
 +		cp0_timer_irq_installed = 0;
-+		free_irq(evt->irq, &c0_compare_irqaction);
++		remove_irq(evt->irq, &c0_compare_irqaction);
 +		break;
 +
 +	default:
-- 
2.3.6
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list