]> err.no Git - linux-2.6/commitdiff
Fix preemption bug.
authorRalf Baechle <ralf@linux-mips.org>
Fri, 4 Mar 2005 12:35:42 +0000 (12:35 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 29 Oct 2005 18:30:51 +0000 (19:30 +0100)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/entry.S

index ebc1a5d4f8b8da698a9a43e05b3b4d8a7040332a..6e01b0dd031f751085e01c101a9537fbaa4173c1 100644 (file)
@@ -58,9 +58,8 @@ need_resched:
        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)