[Linux-ia64] [PATCH 2.5.68] mod_timer fix for sn/kernel/irq.c

From: Vinay K Nallamothu <vinay-rc_at_naturesoft.net>
Date: 2003-05-03 22:40:34
Hi,

Small fix converting {del,add}_timer to mod_timer.

vinay

PS: I am not on the mailing list

--- linux-2.5.68/arch/ia64/sn/kernel/irq.c      2003-03-25
10:07:20.000000000 +0530
+++ linux-2.5.68-nvk/arch/ia64/sn/kernel/irq.c  2003-05-03
16:14:38.000000000 +0530
@@ -310,9 +310,7 @@
                       
bridge->b_force_always[intr_test_registered[i].slot].intr = 1;
                }
        }
-       del_timer(&intr_test_timer);
-       intr_test_timer.expires = jiffies + HZ/100;
-       add_timer(&intr_test_timer);
+       mod_timer(&intr_test_timer, jiffies + HZ/100);
 }

 void
Received on Sat May 03 05:36:06 2003

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:14 EST