summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllan Stephens <allan.stephens@windriver.com>2012-04-26 16:50:22 -0400
committerPaul Gortmaker <paul.gortmaker@windriver.com>2012-04-26 17:19:42 -0400
commit861d3a0e5bbc93b79b5739cfb4ea0fb553fe9407 (patch)
tree46eca3f60dfed976adbcfc97d9ff399905200878
parenta2cfd45b52006893fc0d0e850d187d30f86a39dc (diff)
tipc: Optimize initialization of configuration service
Initialization now occurs in the calling thread of control, rather than being deferred to the TIPC tasklet. With the current codebase, the deferral is no longer necessary. Signed-off-by: Allan Stephens <allan.stephens@windriver.com> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
-rw-r--r--net/tipc/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tipc/core.c b/net/tipc/core.c
index 68eba03e795..c8a4f00468a 100644
--- a/net/tipc/core.c
+++ b/net/tipc/core.c
@@ -152,7 +152,7 @@ static int tipc_core_start(void)
if (!res)
res = tipc_k_signal((Handler)tipc_subscr_start, 0);
if (!res)
- res = tipc_k_signal((Handler)tipc_cfg_init, 0);
+ res = tipc_cfg_init();
if (!res)
res = tipc_netlink_start();
if (!res)