From: Thomas Gleixner Date: Thu, 22 May 2014 03:25:47 +0000 (+0000) Subject: rtmutex: Cleanup deadlock detector debug logic X-Git-Tag: cleanup-for-v3.18~138^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8930ed80f970a90a795239e7415c9b0e6f964649;p=pandora-kernel.git rtmutex: Cleanup deadlock detector debug logic The conditions under which deadlock detection is conducted are unclear and undocumented. Add constants instead of using 0/1 and provide a selection function which hides the additional debug dependency from the calling code. Add comments where needed. Signed-off-by: Thomas Gleixner Cc: Peter Zijlstra Reviewed-by: Steven Rostedt Cc: Lai Jiangshan Link: http://lkml.kernel.org/r/20140522031949.947264874@linutronix.de Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed