From 1f22ce1024c06082ae8f3e5f2a289c970227c006 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Sun, 25 Sep 2011 09:41:04 +0800 Subject: [PATCH] Kernel - Unlocked debug lock when entering kernel panic --- Kernel/debug.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Kernel/debug.c b/Kernel/debug.c index 72098390..e0c7af87 100644 --- a/Kernel/debug.c +++ b/Kernel/debug.c @@ -102,6 +102,9 @@ void Debug_FmtS(int bUseKTerm, const char *format, ...) void Debug_KernelPanic(void) { + #if LOCK_DEBUG_OUTPUT + SHORTREL(&glDebug_Lock); + #endif gbDebug_IsKPanic = 1; KernelPanic_SetMode(); } -- 2.20.1