Skip to content

Commit

Permalink
Fix preemption bug.
Browse files Browse the repository at this point in the history
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Ralf Baechle committed Oct 29, 2005
1 parent ebc7f12 commit cdaed73
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions arch/mips/kernel/entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit cdaed73

Please sign in to comment.