From: Ying Xue Date: Mon, 5 May 2014 00:56:15 +0000 (+0800) Subject: tipc: define new functions to operate bc_lock X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~275^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d69afc90b8d47e471d2870f090f662e569b08407;p=pandora-kernel.git tipc: define new functions to operate bc_lock As we are going to do more jobs when bc_lock is released, the two operations of holding/releasing the lock should be encapsulated with functions. In addition, we move bc_lock spin lock into tipc_bclink structure avoiding to define the global variable. Signed-off-by: Ying Xue Reviewed-by: Erik Hugne Reviewed-by: Jon Maloy Signed-off-by: David S. Miller --- Reading git-diff-tree failed