diff options
author | Yinghai Lu <yinghai@kernel.org> | 2011-02-17 08:53:20 -0500 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2011-02-17 09:04:20 -0500 |
commit | 6d496f9f232790d44144f3784856290e0b27b8f3 (patch) | |
tree | d3743398d1a2159981c5eafc837e08b46565dad5 /arch/x86 | |
parent | 2ca230baeb7c61864cab9b53e37a3da28a2ca7e5 (diff) |
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: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/mm/numa_64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/mm/numa_64.c b/arch/x86/mm/numa_64.c index 1bd6de4aa714..f6d85e380471 100644 --- a/arch/x86/mm/numa_64.c +++ b/arch/x86/mm/numa_64.c | |||
@@ -899,7 +899,7 @@ static bool __init numa_emulation(void) | |||
899 | } | 899 | } |
900 | #endif /* CONFIG_NUMA_EMU */ | 900 | #endif /* CONFIG_NUMA_EMU */ |
901 | 901 | ||
902 | static int dummy_numa_init(void) | 902 | static int __init dummy_numa_init(void) |
903 | { | 903 | { |
904 | printk(KERN_INFO "%s\n", | 904 | printk(KERN_INFO "%s\n", |
905 | numa_off ? "NUMA turned off" : "No NUMA configuration found"); | 905 | numa_off ? "NUMA turned off" : "No NUMA configuration found"); |