Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 10982
b: refs/heads/master
c: a18815a
h: refs/heads/master
v: v3
  • Loading branch information
Ralf Baechle committed Oct 29, 2005
1 parent 9fcca5a commit 74a929d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 54176736f734ca3a1f27416d8e5804981a627076
refs/heads/master: a18815abcdfd9f10a6ce6fbec3ad1af1ae101ce7
7 changes: 2 additions & 5 deletions trunk/arch/mips/kernel/entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ resume_userspace:

#ifdef CONFIG_PREEMPT
resume_kernel:
local_irq_disable
lw t0, TI_PRE_COUNT($28)
bnez t0, restore_all
need_resched:
Expand All @@ -59,11 +60,7 @@ need_resched:
beqz t0, restore_all
li t0, PREEMPT_ACTIVE
sw t0, TI_PRE_COUNT($28)
local_irq_enable
jal schedule
sw zero, TI_PRE_COUNT($28)
local_irq_disable
b need_resched
jal preempt_schedule_irq
#endif

FEXPORT(ret_from_fork)
Expand Down

0 comments on commit 74a929d

Please sign in to comment.