From: Vinay K Nallamothu <vinay-rc@naturesoft.net>
To: linux-ia64@vger.kernel.org
Subject: [Linux-ia64] PATCH 2.5.68] mod_timer fixes for ia64/sn/kernel/mca.c
Date: Sat, 03 May 2003 13:00:00 +0000 [thread overview]
Message-ID: <marc-linux-ia64-105590723705632@msgid-missing> (raw)
[-- Attachment #1: Type: text/plain, Size: 98 bytes --]
Hi,
Few more {del,add}_timer to mod_timer conversions.
vinay
PS: I am not on the mailing list.
[-- Attachment #2: mca.c.diff --]
[-- Type: text/plain, Size: 858 bytes --]
--- linux-2.5.68/arch/ia64/sn/kernel/mca.c 2003-03-25 10:07:20.000000000 +0530
+++ linux-2.5.68-nvk/arch/ia64/sn/kernel/mca.c 2003-05-03 16:50:57.000000000 +0530
@@ -246,9 +246,7 @@
void
sn_cpei_timer_handler(unsigned long dummy) {
sn_cpei_handler(-1, NULL, NULL);
- del_timer(&sn_cpei_timer);
- sn_cpei_timer.expires = jiffies + CPEI_INTERVAL;
- add_timer(&sn_cpei_timer);
+ mod_timer(&sn_cpei_timer, jiffies + CPEI_INTERVAL);
}
void
@@ -267,9 +265,7 @@
unsigned long *pi_ce_error_inject_reg = 0xc00000092fffff00;
*pi_ce_error_inject_reg = 0x0000000000000100;
- del_timer(&sn_ce_timer);
- sn_ce_timer.expires = jiffies + CPEI_INTERVAL;
- add_timer(&sn_ce_timer);
+ mod_timer(&sn_ce_timer, jiifies + CPEI_INTERVAL);
}
sn_init_ce_timer() {
reply other threads:[~2003-05-03 13:00 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=marc-linux-ia64-105590723705632@msgid-missing \
--to=vinay-rc@naturesoft.net \
--cc=linux-ia64@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.