summaryrefslogtreecommitdiff
path: root/net/tipc/net.c
diff options
context:
space:
mode:
authorYing Xue <ying.xue@windriver.com>2014-05-05 08:56:15 +0800
committerDavid S. Miller <davem@davemloft.net>2014-05-05 17:26:44 -0400
commitd69afc90b8d47e471d2870f090f662e569b08407 (patch)
tree7c79d103af656d7912358e09f9350ead1bf7e727 /net/tipc/net.c
parentca0c42732c512a12fabe677594840f31861dd31a (diff)
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 <ying.xue@windriver.com> Reviewed-by: Erik Hugne <erik.hugne@ericsson.com> Reviewed-by: Jon Maloy <jon.maloy@ericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/net.c')
0 files changed, 0 insertions, 0 deletions