Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6d496f9f authored by Yinghai Lu's avatar Yinghai Lu Committed by Tejun Heo
Browse files

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: default avatarYinghai Lu <yinghai@kernel.org>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 2ca230ba
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -899,7 +899,7 @@ static bool __init numa_emulation(void)
}
}
#endif /* CONFIG_NUMA_EMU */
#endif /* CONFIG_NUMA_EMU */


static int dummy_numa_init(void)
static int __init dummy_numa_init(void)
{
{
	printk(KERN_INFO "%s\n",
	printk(KERN_INFO "%s\n",
	       numa_off ? "NUMA turned off" : "No NUMA configuration found");
	       numa_off ? "NUMA turned off" : "No NUMA configuration found");