x86: remove have_arch_parse_srat -v2
authorYinghai Lu <yhlu.kernel@gmail.com>
Sun, 6 Jul 2008 18:42:11 +0000 (11:42 -0700)
committerIngo Molnar <mingo@elte.hu>
Tue, 8 Jul 2008 13:49:01 +0000 (15:49 +0200)
we already have the same srat handling interface for 32bit.

Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/Kconfig
arch/x86/mm/discontig_32.c

index 67e5275..d8dddbc 100644 (file)
@@ -460,10 +460,6 @@ config ACPI_SRAT
        depends on X86_32 && ACPI && NUMA && X86_GENERICARCH
        select ACPI_NUMA
 
-config HAVE_ARCH_PARSE_SRAT
-       def_bool y
-       depends on ACPI_SRAT
-
 config X86_SUMMIT_NUMA
        def_bool y
        depends on X86_32 && NUMA && X86_GENERICARCH
index fa389d2..5dfef9f 100644 (file)
@@ -443,20 +443,3 @@ int memory_add_physaddr_to_nid(u64 addr)
 EXPORT_SYMBOL_GPL(memory_add_physaddr_to_nid);
 #endif
 
-#if defined(CONFIG_ACPI_NUMA) && !defined(CONFIG_HAVE_ARCH_PARSE_SRAT)
-/*
- * Dummy on 32-bit, for now:
- */
-void __init acpi_numa_slit_init(struct acpi_table_slit *slit)
-{
-}
-
-void __init
-acpi_numa_processor_affinity_init(struct acpi_srat_cpu_affinity *pa)
-{
-}
-
-void __init acpi_numa_arch_fixup(void)
-{
-}
-#endif