diff options
author | Ying Xue <ying.xue@windriver.com> | 2014-05-05 08:56:15 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-05-05 17:26:44 -0400 |
commit | d69afc90b8d47e471d2870f090f662e569b08407 (patch) | |
tree | 7c79d103af656d7912358e09f9350ead1bf7e727 /net/tipc/config.c | |
parent | ca0c42732c512a12fabe677594840f31861dd31a (diff) | |
download | linux-d69afc90b8d47e471d2870f090f662e569b08407.tar.bz2 |
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/config.c')
0 files changed, 0 insertions, 0 deletions