summaryrefslogtreecommitdiff
path: root/arch/x86/mm/numa_64.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2011-02-16 17:11:08 +0100
committerTejun Heo <tj@kernel.org>2011-02-16 17:11:08 +0100
commit5d371b08fea80c4fb7450d31e5a4e35b438ef850 (patch)
treed87e33c1b8b63bc7e50d7a5e18d0f12f8022582b /arch/x86/mm/numa_64.c
parentfd0435d8fb1d4e5771f9ae3af71f2a77c1f4bd09 (diff)
x86-64, NUMA: Kill {acpi|amd|dummy}_scan_nodes()
They are empty now. Kill them. Signed-off-by: Tejun Heo <tj@kernel.org> Cc: Yinghai Lu <yinghai@kernel.org> Cc: Brian Gerst <brgerst@gmail.com> Cc: Cyrill Gorcunov <gorcunov@gmail.com> Cc: Shaohui Zheng <shaohui.zheng@intel.com> Cc: David Rientjes <rientjes@google.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/x86/mm/numa_64.c')
-rw-r--r--arch/x86/mm/numa_64.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/x86/mm/numa_64.c b/arch/x86/mm/numa_64.c
index 748c6b5bff6d..e211c005f5e1 100644
--- a/arch/x86/mm/numa_64.c
+++ b/arch/x86/mm/numa_64.c
@@ -772,25 +772,17 @@ static int dummy_numa_init(void)
return 0;
}
-static int dummy_scan_nodes(void)
-{
- return 0;
-}
-
void __init initmem_init(void)
{
int (*numa_init[])(void) = { [2] = dummy_numa_init };
- int (*scan_nodes[])(void) = { [2] = dummy_scan_nodes };
int i, j;
if (!numa_off) {
#ifdef CONFIG_ACPI_NUMA
numa_init[0] = x86_acpi_numa_init;
- scan_nodes[0] = acpi_scan_nodes;
#endif
#ifdef CONFIG_AMD_NUMA
numa_init[1] = amd_numa_init;
- scan_nodes[1] = amd_scan_nodes;
#endif
}
@@ -834,9 +826,6 @@ void __init initmem_init(void)
if (numa_register_memblks() < 0)
continue;
- if (scan_nodes[i]() < 0)
- continue;
-
for (j = 0; j < nr_cpu_ids; j++) {
int nid = early_cpu_to_node(j);