From: Ralf Baechle Date: Fri, 4 Mar 2005 12:35:42 +0000 (+0000) Subject: Fix preemption bug. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=cdaed73afb61913ee5115aa38b0c35ecb0513f50;p=linux-beck.git Fix preemption bug. Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/kernel/entry.S b/arch/mips/kernel/entry.S index ebc1a5d4f8b8..6e01b0dd031f 100644 --- a/arch/mips/kernel/entry.S +++ b/arch/mips/kernel/entry.S @@ -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)