From: John Hodge Date: Sun, 25 Sep 2011 01:41:04 +0000 (+0800) Subject: Kernel - Unlocked debug lock when entering kernel panic X-Git-Tag: rel0.11~76 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=1f22ce1024c06082ae8f3e5f2a289c970227c006;p=tpg%2Facess2.git Kernel - Unlocked debug lock when entering kernel panic --- 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(); }