| To: | Ralf Baechle <ralf@oss.sgi.com> |
|---|---|
| Subject: | [PATCH 2.5] disable interrupts in entry.S |
| From: | Vivien Chappelier <vivienc@nerim.net> |
| Date: | Tue, 4 Feb 2003 23:59:07 +0100 (CET) |
| Cc: | linux-mips@linux-mips.org |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
Hi,
A mtc0 is missing in entry.S to disable interrupts while doing
ret_from_irq, ret_from_exception and resume_userspace.
Vivien.
Index: arch/mips64/kernel/entry.S
===================================================================
RCS file: /home/cvs/linux/arch/mips64/kernel/entry.S,v
retrieving revision 1.23
diff -u -r1.23 entry.S
--- arch/mips64/kernel/entry.S 9 Jan 2003 19:25:15 -0000 1.23
+++ arch/mips64/kernel/entry.S 4 Feb 2003 20:59:33 -0000
@@ -29,6 +29,7 @@
mfc0 t0, CP0_STATUS # make sure need_resched and
ori t0, t0, 1 # signals dont change between
xori t0, t0, 1 # sampling and return
+ mtc0 t0, CP0_STATUS
SSNOP; SSNOP; SSNOP
LONG_L a2, TI_FLAGS($28)
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 2.5] clear USEDFPU in copy_thread, Vivien Chappelier |
|---|---|
| Next by Date: | Re: [patch] cmdline.c rewrite, Guido Guenther |
| Previous by Thread: | [PATCH 2.5] clear USEDFPU in copy_thread, Vivien Chappelier |
| Next by Thread: | Re: [RFC & PATCH] fixing tlb flush race problem on smp, Jun Sun |
| Indexes: | [Date] [Thread] [Top] [All Lists] |