Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
xcap
xcap-capability-linux
Commits
a18815ab
Commit
a18815ab
authored
Feb 07, 2005
by
Ralf Baechle
Browse files
Use preempt_schedule_irq.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
54176736
Changes
1
Hide whitespace changes
Inline
Side-by-side
arch/mips/kernel/entry.S
View file @
a18815ab
...
...
@@ -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
:
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment