Browse Source

ramips: fix use remove_irq to release irqaction resource

Signed-off-by: Michael Lee <[email protected]>

SVN-Revision: 47121
John Crispin 10 years ago
parent
commit
10f75a2b7f

+ 1 - 1
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 <[email protected]>
 +			break;
 +
 +		cp0_timer_irq_installed = 0;
-+		free_irq(evt->irq, &c0_compare_irqaction);
++		remove_irq(evt->irq, &c0_compare_irqaction);
 +		break;
 +
 +	default: