All of lore.kernel.org
 help / color / mirror / Atom feed
* Improperly handled case in arch/mips/au1000/common/time.c
@ 2003-04-22 19:54 Jeff Baitis
  2003-04-22 20:20 ` Pete Popov
  2003-04-22 22:56 ` Jun Sun
  0 siblings, 2 replies; 15+ messages in thread
From: Jeff Baitis @ 2003-04-22 19:54 UTC (permalink / raw)
  To: Pete Popov; +Cc: linux-mips

Pete:

While struggling to get Linux up on Evolution's custom board based on the
Au1500, I discovered a poorly handled case in time.c; null interrupts are
handled should not affect the local IRQ count. (if the local IRQ count is not
decremented, tests for in_irq() fail.)

Thanks for taking a look at my patch!

-Jeff

Index: time.c
===================================================================
RCS file: /home/cvs/linux/arch/mips/au1000/common/time.c,v
retrieving revision 1.5.2.10
diff -u -r1.5.2.10 time.c
--- time.c      25 Mar 2003 14:30:19 -0000      1.5.2.10
+++ time.c      22 Apr 2003 19:47:24 -0000
@@ -114,6 +114,7 @@
        return;
 
 null:
+       irq_exit(cpu, irq);
        ack_r4ktimer(0);
 }

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

end of thread, other threads:[~2003-04-23 15:36 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-22 19:54 Improperly handled case in arch/mips/au1000/common/time.c Jeff Baitis
2003-04-22 20:20 ` Pete Popov
2003-04-22 20:49   ` Ralf Baechle
2003-04-22 22:56 ` Jun Sun
2003-04-22 23:00   ` Pete Popov
2003-04-22 23:07     ` Jun Sun
2003-04-23 15:35     ` Dan Malek
2003-04-22 23:07   ` Ralf Baechle
2003-04-22 23:13     ` Jun Sun
2003-04-22 23:18       ` Pete Popov
2003-04-22 23:30         ` Jun Sun
2003-04-23  0:29       ` Ralf Baechle
2003-04-23 13:24         ` Maciej W. Rozycki
2003-04-22 23:17     ` Matthew Dharm
2003-04-22 23:17       ` Matthew Dharm

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.