Skip to content

Commit

Permalink
x86-64, NUMA: Move NUMA emulation into numa_emulation.c
Browse files Browse the repository at this point in the history
Create numa_emulation.c and move all NUMA emulation code there.  The
definitions of struct numa_memblk and numa_meminfo are moved to
numa_64.h.  Also, numa_remove_memblk_from(), numa_cleanup_meminfo(),
numa_reset_distance() along with numa_emulation() are made global.

- v2: Internal declarations moved to numa_internal.h as suggested by
      Yinghai.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Yinghai Lu <yinghai@kernel.org>
Cc: Ingo Molnar <mingo@redhat.com>
  • Loading branch information
Tejun Heo committed Feb 22, 2011
1 parent fbe9995 commit b8ef917
Show file tree
Hide file tree
Showing 4 changed files with 488 additions and 476 deletions.
1 change: 1 addition & 0 deletions arch/x86/mm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ 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
obj-$(CONFIG_NUMA_EMU) += numa_emulation.o

obj-$(CONFIG_HAVE_MEMBLOCK) += memblock.o

Expand Down
Loading

0 comments on commit b8ef917

Please sign in to comment.