mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Vinay K Nallamothu <vinay-rc@naturesoft.net>
To: linux-ia64@linuxia64.org
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: [PATCH 2.{4,5}.x] IA64 SN mod_timer fix for kernel/irq.c
Date: 07 May 2003 10:29:54 +0530	[thread overview]
Message-ID: <1052283594.1189.39.camel@lima.royalchallenge.com> (raw)

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




                 reply	other threads:[~2003-05-07  4:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1052283594.1189.39.camel@lima.royalchallenge.com \
    --to=vinay-rc@naturesoft.net \
    --cc=linux-ia64@linuxia64.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®