linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 2.{4,5}.x] IA64 SN mod_timer fix for kernel/irq.c
@ 2003-05-07  4:59 Vinay K Nallamothu
  0 siblings, 0 replies; only message in thread
From: Vinay K Nallamothu @ 2003-05-07  4:59 UTC (permalink / raw)
  To: linux-ia64; +Cc: LKML

irq.c: Remove {del,add}_timer to use mod_timer.

--- 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




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-05-07  4:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-07  4:59 [PATCH 2.{4,5}.x] IA64 SN mod_timer fix for kernel/irq.c Vinay K Nallamothu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).