]> git.baikalelectronics.ru Git - kernel.git/commit
futex,plist: Remove debug lock assignment from plist_node
authorLai Jiangshan <laijs@cn.fujitsu.com>
Tue, 21 Dec 2010 09:55:10 +0000 (17:55 +0800)
committerSteven Rostedt <rostedt@goodmis.org>
Fri, 11 Mar 2011 20:09:53 +0000 (15:09 -0500)
commit2b1dfa97bd265e0ee737bb248d72a93301a7e12f
treeed429ce014e9998abe35a764e48e1ad22b46da59
parent1cebf6f3289781b66bd24e7da2795302346fd57e
futex,plist: Remove debug lock assignment from plist_node

The original code uses &plist_node->plist as the fake head of
the priority list for plist_del(), these debug locks in
the fake head are needed for CONFIG_DEBUG_PI_LIST.

But now we always pass the real head to plist_del(), the debug locks
in plist_node will not be used, so we remove these assignments.

Acked-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
LKML-Reference: <4D10797E.7040803@cn.fujitsu.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/futex.c