提交 6d496f9f 编写于 作者: Y Yinghai Lu 提交者: Tejun Heo

x86-64, NUMA: Put dummy_numa_init() in the init section

dummy_numa_init() is used only during system boot.  Put it in .init
like other NUMA init functions.

- tj: Description update.
Signed-off-by: NYinghai Lu <yinghai@kernel.org>
Signed-off-by: NTejun Heo <tj@kernel.org>
上级 2ca230ba
......@@ -899,7 +899,7 @@ static bool __init numa_emulation(void)
}
#endif /* CONFIG_NUMA_EMU */
static int dummy_numa_init(void)
static int __init dummy_numa_init(void)
{
printk(KERN_INFO "%s\n",
numa_off ? "NUMA turned off" : "No NUMA configuration found");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册