diff --git a/arch/x86/mm/Makefile b/arch/x86/mm/Makefile index 3e608edf99586608235fe366e10171b68a6a01fa..37e7043362a12d3b52824cfce38c74d61d0a8417 100644 --- a/arch/x86/mm/Makefile +++ b/arch/x86/mm/Makefile @@ -24,7 +24,10 @@ obj-$(CONFIG_MMIOTRACE_TEST) += testmmiotrace.o obj-$(CONFIG_NUMA) += numa.o numa_$(BITS).o obj-$(CONFIG_AMD_NUMA) += amdtopology_64.o -obj-$(CONFIG_ACPI_NUMA) += srat_$(BITS).o +ifeq ($(CONFIG_ACPI_NUMA),y) +obj-$(CONFIG_X86_64) += srat.o +obj-$(CONFIG_X86_32) += srat_32.o +endif obj-$(CONFIG_NUMA_EMU) += numa_emulation.o obj-$(CONFIG_HAVE_MEMBLOCK) += memblock.o diff --git a/arch/x86/mm/srat_64.c b/arch/x86/mm/srat.c similarity index 100% rename from arch/x86/mm/srat_64.c rename to arch/x86/mm/srat.c