[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1383871600-3831-4-git-send-email-felipe.contreras@gmail.com>
Date: Thu, 7 Nov 2013 18:46:40 -0600
From: Felipe Contreras <felipe.contreras@...il.com>
To: linux-kernel@...r.kernel.org
Cc: Ingo Molnar <mingo@...e.hu>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Felipe Contreras <felipe.contreras@...il.com>
Subject: [PATCH 3/3] panic: enable local IRQs for restart timeout too
Signed-off-by: Felipe Contreras <felipe.contreras@...il.com>
---
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists