| To: | linux-cvs-patches@linux-mips.org |
|---|---|
| Subject: | CVS Update@linux-mips.org: linux |
| From: | ralf@linux-mips.org |
| Date: | Fri, 04 Mar 2005 12:35:47 +0000 |
| Reply-to: | linux-mips@linux-mips.org |
| Sender: | linux-cvs-patches-bounce@linux-mips.org |
CVSROOT: /home/cvs
Module name: linux
Changes by: ralf@ftp.linux-mips.org 05/03/04 12:35:42
Modified files:
arch/mips/kernel: entry.S
Log message:
Fix preemption bug.
diff -urN linux/arch/mips/kernel/entry.S linux/arch/mips/kernel/entry.S
--- linux/arch/mips/kernel/entry.S 2005/02/07 02:54:34 1.65
+++ linux/arch/mips/kernel/entry.S 2005/03/04 12:35:42 1.66
@@ -58,9 +58,8 @@
LONG_L t0, PT_STATUS(sp) # Interrupts off?
andi t0, 1
beqz t0, restore_all
- li t0, PREEMPT_ACTIVE
- sw t0, TI_PRE_COUNT($28)
jal preempt_schedule_irq
+ b need_resched
#endif
FEXPORT(ret_from_fork)
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | CVS Update@linux-mips.org: linux, ppopov |
|---|---|
| Next by Date: | CVS Update@linux-mips.org: linux, ralf |
| Previous by Thread: | CVS Update@linux-mips.org: linux, ppopov |
| Next by Thread: | CVS Update@linux-mips.org: linux, ralf |
| Indexes: | [Date] [Thread] [Top] [All Lists] |