Explorar o código

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>
Allan Stephens %!s(int64=13) %!d(string=hai) anos
pai
achega
861d3a0e5b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      net/tipc/core.c

+ 1 - 1
net/tipc/core.c

@@ -152,7 +152,7 @@ static int tipc_core_start(void)
 	if (!res)
 	if (!res)
 		res = tipc_k_signal((Handler)tipc_subscr_start, 0);
 		res = tipc_k_signal((Handler)tipc_subscr_start, 0);
 	if (!res)
 	if (!res)
-		res = tipc_k_signal((Handler)tipc_cfg_init, 0);
+		res = tipc_cfg_init();
 	if (!res)
 	if (!res)
 		res = tipc_netlink_start();
 		res = tipc_netlink_start();
 	if (!res)
 	if (!res)