Skip to content

Commit

Permalink
x86: remove have_arch_parse_srat -v2
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Yinghai Lu authored and Ingo Molnar committed Jul 8, 2008
1 parent a29d1cf commit 698839f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 21 deletions.
4 changes: 0 additions & 4 deletions arch/x86/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
17 changes: 0 additions & 17 deletions arch/x86/mm/discontig_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 698839f

Please sign in to comment.