projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa6bc4f
)
x86: machine_halt() forcibly re-enables IRQs as it may be called from
author
Keir Fraser
<keir.fraser@citrix.com>
Thu, 12 Jun 2008 15:09:08 +0000
(16:09 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Thu, 12 Jun 2008 15:09:08 +0000
(16:09 +0100)
panic() which itself may be called in an IRQ-safe critical section.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/arch/x86/shutdown.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/shutdown.c
b/xen/arch/x86/shutdown.c
index 6b41e739eb3dbcafe0daa7f634fe7543f79338a2..a65771575f518540eeb57dacd528e3abde2e953c 100644
(file)
--- a/
xen/arch/x86/shutdown.c
+++ b/
xen/arch/x86/shutdown.c
@@
-90,6
+90,7
@@
void machine_halt(void)
{
watchdog_disable();
console_start_sync();
+ local_irq_enable();
smp_call_function(__machine_halt, NULL, 1, 0);
__machine_halt(NULL);
}