Skip to content

Commit

Permalink
x86-64, NUMA: Put dummy_numa_init() in the init section
Browse files Browse the repository at this point in the history
dummy_numa_init() is used only during system boot.  Put it in .init
like other NUMA init functions.

- tj: Description update.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
  • Loading branch information
Yinghai Lu authored and Tejun Heo committed Feb 17, 2011
1 parent 2ca230b commit 6d496f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/mm/numa_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 6d496f9

Please sign in to comment.