PATCH: Suppose we unload with the timer function live ?

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Tue Oct 08 2002 - 14:01:42 EST


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/



This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:26 EST