projects
/
platform
/
upstream
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bdbba2
)
idle: enable interrupts before idling
author
Matt Fleming
<matt.fleming@intel.com>
Wed, 3 Jul 2013 21:09:15 +0000
(22:09 +0100)
committer
Matt Fleming
<matt.fleming@intel.com>
Wed, 3 Jul 2013 21:18:37 +0000
(22:18 +0100)
Users are *still* reporting executing __idle() with interrupts disabled,
which ultimately leads to a hang. Just enable them explicitly before
idling.
Cc: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
core/idle.c
patch
|
blob
|
history
diff --git
a/core/idle.c
b/core/idle.c
index
7f76a14
..
16d10d5
100644
(file)
--- a/
core/idle.c
+++ b/
core/idle.c
@@
-43,6
+43,7
@@
__export void __idle(void)
if (idle_hook_func && idle_hook_func())
return; /* Nonzero return = do not idle */
+ sti();
if (NoHalt)
cpu_relax();
else