diff options
author | Ying Xue <ying.xue@windriver.com> | 2014-05-05 08:56:16 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-05-05 17:26:45 -0400 |
commit | eb8b00f5f248c50603bca383792ac3a618297be0 (patch) | |
tree | 429c3bff534952209c848f011cb675530a115b5d /net/tipc/bcast.h | |
parent | d69afc90b8d47e471d2870f090f662e569b08407 (diff) | |
download | op-kernel-dev-eb8b00f5f248c50603bca383792ac3a618297be0.zip op-kernel-dev-eb8b00f5f248c50603bca383792ac3a618297be0.tar.gz |
tipc: convert allocations of global variables associated with bclink
Convert allocations of global variables associated with bclink from
static way to dynamical way for the convenience of bclink instance
initialisation. Meanwhile, this also helps TIPC support name space
in the future easily.
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/bcast.h')
-rw-r--r-- | net/tipc/bcast.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tipc/bcast.h b/net/tipc/bcast.h index 7c1ef1b..ea162c7 100644 --- a/net/tipc/bcast.h +++ b/net/tipc/bcast.h @@ -81,7 +81,7 @@ static inline int tipc_nmap_equal(struct tipc_node_map *nm_a, void tipc_port_list_add(struct tipc_port_list *pl_ptr, u32 port); void tipc_port_list_free(struct tipc_port_list *pl_ptr); -void tipc_bclink_init(void); +int tipc_bclink_init(void); void tipc_bclink_stop(void); void tipc_bclink_add_node(u32 addr); void tipc_bclink_remove_node(u32 addr); |