Messages in this thread Patch in this message | | | From | Felipe Contreras <> | Subject | [PATCH 3/3] panic: enable local IRQs for restart timeout too | Date | Thu, 7 Nov 2013 18:46:40 -0600 |
| |
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
| |