[PATCH 3/3] panic: enable local IRQs for restart timeout too

From: Felipe Contreras
Date: Thu Nov 07 2013 - 19:53:51 EST


Signed-off-by: Felipe Contreras <felipe.contreras@xxxxxxxxx>
---
kernel/panic.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/kernel/panic.c b/kernel/panic.c
index 5a0bdaa..e32919f 100644
--- a/kernel/panic.c
+++ b/kernel/panic.c
@@ -133,6 +133,8 @@ void panic(const char *fmt, ...)

bust_spinlocks(0);

+ local_irq_enable();
+
if (!panic_blink)
panic_blink = no_blink;

@@ -176,7 +178,6 @@ void panic(const char *fmt, ...)
disabled_wait(caller);
}
#endif
- local_irq_enable();
for (i = 0; ; i += PANIC_TIMER_STEP) {
touch_softlockup_watchdog();
if (i >= i_next) {
--
1.8.4.2+fc1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/