Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
xenomai
ipipe-arm
Commits
94214eae
Commit
94214eae
authored
Dec 03, 2017
by
Philippe Gerum
Browse files
ARM: sched: ipipe: resync interrupt state from assembly callout
parent
657acdf0
Changes
1
Hide whitespace changes
Inline
Side-by-side
arch/arm/kernel/signal.c
View file @
94214eae
...
...
@@ -653,11 +653,13 @@ do_work_pending(struct pt_regs *regs, unsigned int thread_flags, int syscall)
trace_hardirqs_off
();
do
{
if
(
likely
(
thread_flags
&
_TIF_NEED_RESCHED
))
{
local_irq_disable
();
hard_cond_local_irq_enable
();
schedule
();
}
else
{
if
(
unlikely
(
!
user_mode
(
regs
)))
return
0
;
local_irq_enable
();
hard_
local_irq_enable
();
if
(
thread_flags
&
_TIF_SIGPENDING
)
{
int
restart
=
do_signal
(
regs
,
syscall
);
if
(
unlikely
(
restart
))
{
...
...
@@ -677,7 +679,7 @@ do_work_pending(struct pt_regs *regs, unsigned int thread_flags, int syscall)
rseq_handle_notify_resume
(
NULL
,
regs
);
}
}
local_irq_disable
();
hard_
local_irq_disable
();
thread_flags
=
current_thread_info
()
->
flags
;
}
while
(
thread_flags
&
_TIF_WORK_MASK
);
return
0
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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