From: John Hodge Date: Sat, 7 Sep 2013 15:03:07 +0000 (+0800) Subject: Kernel - Fixed missing arguments to early-reschedule warning message X-Git-Tag: rel0.15~260 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=a1473d9066eb08a25c85784e6839a31abd6393fb;p=tpg%2Facess2.git Kernel - Fixed missing arguments to early-reschedule warning message --- diff --git a/KernelLand/Kernel/threads.c b/KernelLand/Kernel/threads.c index 9f760703..5a41a203 100644 --- a/KernelLand/Kernel/threads.c +++ b/KernelLand/Kernel/threads.c @@ -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)); } }