Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Fix preemption bug.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

+1 -2
+1 -2
arch/mips/kernel/entry.S
··· 58 58 LONG_L t0, PT_STATUS(sp) # Interrupts off? 59 59 andi t0, 1 60 60 beqz t0, restore_all 61 - li t0, PREEMPT_ACTIVE 62 - sw t0, TI_PRE_COUNT($28) 63 61 jal preempt_schedule_irq 62 + b need_resched 64 63 #endif 65 64 66 65 FEXPORT(ret_from_fork)