PATCH: Suppose we unload with the timer function live ?

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 8 Oct 2002 20:01:42 +0100 (BST)


diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.2.5.41/drivers/pcmcia/i82365.c linux.2.5.41-ac1/drivers/pcmcia/i82365.c
--- linux.2.5.41/drivers/pcmcia/i82365.c 2002-10-07 22:12:24.000000000 +0100
+++ linux.2.5.41-ac1/drivers/pcmcia/i82365.c 2002-10-07 22:52:57.000000000 +0100
@@ -1631,7 +1631,7 @@
#endif
unregister_ss_entry(&pcic_operations);
if (poll_interval != 0)
- del_timer(&poll_timer);
+ del_timer_sync(&poll_timer);
#ifdef CONFIG_ISA
if (grab_irq != 0)
free_irq(cs_irq, pcic_interrupt);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/