Kernel - Fixed missing arguments to early-reschedule warning message
authorJohn Hodge <[email protected]>
Sat, 7 Sep 2013 15:03:07 +0000 (23:03 +0800)
committerJohn Hodge <[email protected]>
Sat, 7 Sep 2013 15:03:07 +0000 (23:03 +0800)
KernelLand/Kernel/threads.c

index 9f76070..5a41a20 100644 (file)
@@ -728,7 +728,10 @@ void Threads_int_WaitForStatusEnd(enum eThreadStatus Status)
        {
                Proc_Reschedule();
                if( us->Status == Status )
-                       Debug("Thread %p(%i %s) rescheduled while in %s state", casTHREAD_STAT[Status]);
+                       Debug("Thread %p(%i %s) rescheduled while in %s state for %p",
+                               us, us->TID, us->ThreadName,
+                               casTHREAD_STAT[Status],
+                               __builtin_return_address(0));
        }
 }
 

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