Kernel - Unlocked debug lock when entering kernel panic
[tpg/acess2.git] / Kernel / debug.c
index 7209839..e0c7af8 100644 (file)
@@ -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();
 }

UCC git Repository :: git.ucc.asn.au