| To: | Pete Popov <ppopov@mvista.com> |
|---|---|
| Subject: | Improperly handled case in arch/mips/au1000/common/time.c |
| From: | Jeff Baitis <baitisj@evolution.com> |
| Date: | Tue, 22 Apr 2003 12:54:50 -0700 |
| Cc: | linux-mips@linux-mips.org |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Reply-to: | baitisj@evolution.com |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mutt/1.2.5i |
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);
}
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Crash on insmod, Gilad Benjamini |
|---|---|
| Next by Date: | Re: Improperly handled case in arch/mips/au1000/common/time.c, Pete Popov |
| Previous by Thread: | HJ Lu's cross compiler RPMs, Rajesh Palani |
| Next by Thread: | Re: Improperly handled case in arch/mips/au1000/common/time.c, Pete Popov |
| Indexes: | [Date] [Thread] [Top] [All Lists] |