lkml.org 
[lkml]   [2013]   [Nov]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 3/3] panic: enable local IRQs for restart timeout too
Date
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.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


\
 
 \ /
  Last update: 2013-11-08 02:21    [W:0.104 / U:0.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site