Kernel - Unlocked debug lock when entering kernel panic
authorJohn Hodge <[email protected]>
Sun, 25 Sep 2011 01:41:04 +0000 (09:41 +0800)
committerJohn Hodge <[email protected]>
Sun, 25 Sep 2011 01:41:04 +0000 (09:41 +0800)
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