瀏覽代碼

tipc: Optimize initialization of network topology 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 13 年之前
父節點
當前提交
2d98abb9fe
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      net/tipc/core.c

+ 1 - 1
net/tipc/core.c

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