linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 2.5.69] IA64 sn mod_timer fixes for kernel/mca.c
@ 2003-05-07  5:04 Vinay K Nallamothu
  2003-05-07  5:53 ` Andrew Morton
  0 siblings, 1 reply; 4+ messages in thread
From: Vinay K Nallamothu @ 2003-05-07  5:04 UTC (permalink / raw)
  To: linux-ia64; +Cc: LKML

mca.c: Trivial {del,add}_timer to mod_timer conversion.

Thanks
vinay

--- linux-2.5.69/arch/ia64/sn/kernel/mca.c	2003-03-25 10:07:20.000000000 +0530
+++ linux-2.5.69-nvk/arch/ia64/sn/kernel/mca.c	2003-05-07 10:11:42.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() {




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 2.5.69] IA64 sn mod_timer fixes for kernel/mca.c
  2003-05-07  5:04 [PATCH 2.5.69] IA64 sn mod_timer fixes for kernel/mca.c Vinay K Nallamothu
@ 2003-05-07  5:53 ` Andrew Morton
  2003-05-07 19:19   ` [Linux-ia64] " Jesse Barnes
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Morton @ 2003-05-07  5:53 UTC (permalink / raw)
  To: Vinay K Nallamothu; +Cc: linux-ia64, linux-kernel

Vinay K Nallamothu <vinay-rc@naturesoft.net> wrote:
>
> mca.c: Trivial {del,add}_timer to mod_timer conversion.

Please just roll all these up into one big patch.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Linux-ia64] Re: [PATCH 2.5.69] IA64 sn mod_timer fixes for kernel/mca.c
  2003-05-07  5:53 ` Andrew Morton
@ 2003-05-07 19:19   ` Jesse Barnes
  2003-05-07 22:11     ` Alan Cox
  0 siblings, 1 reply; 4+ messages in thread
From: Jesse Barnes @ 2003-05-07 19:19 UTC (permalink / raw)
  To: linux-kernel

On Tue, May 06, 2003 at 10:53:07PM -0700, Andrew Morton wrote:
> Vinay K Nallamothu <vinay-rc@naturesoft.net> wrote:
> >
> > mca.c: Trivial {del,add}_timer to mod_timer conversion.
> 
> Please just roll all these up into one big patch.

Please also Cc: me on SN changes (and the big patch when you send it
out).

Thanks,
Jesse

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Linux-ia64] Re: [PATCH 2.5.69] IA64 sn mod_timer fixes for kernel/mca.c
  2003-05-07 19:19   ` [Linux-ia64] " Jesse Barnes
@ 2003-05-07 22:11     ` Alan Cox
  0 siblings, 0 replies; 4+ messages in thread
From: Alan Cox @ 2003-05-07 22:11 UTC (permalink / raw)
  To: Jesse Barnes; +Cc: Linux Kernel Mailing List

On Mer, 2003-05-07 at 20:19, Jesse Barnes wrote:
> On Tue, May 06, 2003 at 10:53:07PM -0700, Andrew Morton wrote:
> > Vinay K Nallamothu <vinay-rc@naturesoft.net> wrote:
> > >
> > > mca.c: Trivial {del,add}_timer to mod_timer conversion.
> > 
> > Please just roll all these up into one big patch.
> 
> Please also Cc: me on SN changes (and the big patch when you send it
> out).

You want to go through them one by one. Some are a bit less obvious and
a couple Im not sure about. Most are in my test -ac tree and seem fine


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-05-07 22:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-07  5:04 [PATCH 2.5.69] IA64 sn mod_timer fixes for kernel/mca.c Vinay K Nallamothu
2003-05-07  5:53 ` Andrew Morton
2003-05-07 19:19   ` [Linux-ia64] " Jesse Barnes
2003-05-07 22:11     ` Alan Cox

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