* Rongwei Wang <rongwei.wang@xxxxxxxxxxxxxxxxx> wrote: > In order to support NUMA EMU for other > arch, some functions that used by numa_meminfo > should be moved out x86 arch. mm/numa.c created > to place above API. > > CONFIG_NUMA_EMU will be handled later. > > Signed-off-by: Rongwei Wang <rongwei.wang@xxxxxxxxxxxxxxxxx> > --- > arch/x86/include/asm/numa.h | 3 - > arch/x86/mm/numa.c | 216 +------------------------- > arch/x86/mm/numa_internal.h | 14 +- > include/asm-generic/numa.h | 18 +++ > mm/Makefile | 1 + > mm/numa.c | 298 ++++++++++++++++++++++++++++++++++++ > 6 files changed, 323 insertions(+), 227 deletions(-) > create mode 100644 mm/numa.c No objections to moving the x86 NUMA emulation code to mm/numa.c, as long as it stays similarly functional: Acked-by: Ingo Molnar <mingo@xxxxxxxxxx> Thanks, Ingo