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-ppc32
Commits
1358370e
Commit
1358370e
authored
Sep 11, 2018
by
Philippe Gerum
Browse files
sched: idle: ipipe: plug IRQ leak in default idle call
parent
b7d2654e
Changes
1
Hide whitespace changes
Inline
Side-by-side
kernel/sched/idle.c
View file @
1358370e
...
...
@@ -98,9 +98,12 @@ void __cpuidle default_idle_call(void)
if
(
current_clr_polling_and_test
())
{
local_irq_enable_full
();
}
else
{
stop_critical_timings
();
arch_cpu_idle
();
start_critical_timings
();
if
(
ipipe_enter_cpuidle
(
NULL
,
NULL
))
{
stop_critical_timings
();
arch_cpu_idle
();
start_critical_timings
();
}
else
local_irq_enable_full
();
}
}
...
...
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