aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/mm/srat_64.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2011-02-16 11:11:08 -0500
committerTejun Heo <tj@kernel.org>2011-02-16 11:11:08 -0500
commit5d371b08fea80c4fb7450d31e5a4e35b438ef850 (patch)
treed87e33c1b8b63bc7e50d7a5e18d0f12f8022582b /arch/x86/mm/srat_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/srat_64.c')
-rw-r--r--arch/x86/mm/srat_64.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/x86/mm/srat_64.c b/arch/x86/mm/srat_64.c
index 4a2c33b0a48c..d56eff811cd8 100644
--- a/arch/x86/mm/srat_64.c
+++ b/arch/x86/mm/srat_64.c
@@ -270,14 +270,6 @@ int __init x86_acpi_numa_init(void)
270 return srat_disabled() ? -EINVAL : 0; 270 return srat_disabled() ? -EINVAL : 0;
271} 271}
272 272
273/* Use the information discovered above to actually set up the nodes. */
274int __init acpi_scan_nodes(void)
275{
276 if (acpi_numa <= 0)
277 return -1;
278 return 0;
279}
280
281#ifdef CONFIG_NUMA_EMU 273#ifdef CONFIG_NUMA_EMU
282static int fake_node_to_pxm_map[MAX_NUMNODES] __initdata = { 274static int fake_node_to_pxm_map[MAX_NUMNODES] __initdata = {
283 [0 ... MAX_NUMNODES-1] = PXM_INVAL 275 [0 ... MAX_NUMNODES-1] = PXM_INVAL