mm: replace CONFIG_NEED_MULTIPLE_NODES with CONFIG_NUMA
authorMike Rapoport <rppt@linux.ibm.com>
Tue, 29 Jun 2021 02:43:01 +0000 (19:43 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 Jun 2021 17:53:55 +0000 (10:53 -0700)
commita9ee6cf5c60ed1070e786e53665f9b2f23f2bd11
tree2ec79a4f105a3d61e9364b6d3601db2951e1b2b7
parent48d9f3355a8eaa79b00472929b517df497fc6d5f
mm: replace CONFIG_NEED_MULTIPLE_NODES with CONFIG_NUMA

After removal of DISCINTIGMEM the NEED_MULTIPLE_NODES and NUMA
configuration options are equivalent.

Drop CONFIG_NEED_MULTIPLE_NODES and use CONFIG_NUMA instead.

Done with

$ sed -i 's/CONFIG_NEED_MULTIPLE_NODES/CONFIG_NUMA/' \
$(git grep -wl CONFIG_NEED_MULTIPLE_NODES)
$ sed -i 's/NEED_MULTIPLE_NODES/NUMA/' \
$(git grep -wl NEED_MULTIPLE_NODES)

with manual tweaks afterwards.

[rppt@linux.ibm.com: fix arm boot crash]
Link: https://lkml.kernel.org/r/YMj9vHhHOiCVN4BF@linux.ibm.com
Link: https://lkml.kernel.org/r/20210608091316.3622-9-rppt@kernel.org
Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: David Hildenbrand <david@redhat.com>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Matt Turner <mattst88@gmail.com>
Cc: Richard Henderson <rth@twiddle.net>
Cc: Vineet Gupta <vgupta@synopsys.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
36 files changed:
arch/arm64/Kconfig
arch/ia64/Kconfig
arch/mips/Kconfig
arch/mips/include/asm/mmzone.h
arch/mips/include/asm/page.h
arch/mips/mm/init.c
arch/powerpc/Kconfig
arch/powerpc/include/asm/mmzone.h
arch/powerpc/kernel/setup_64.c
arch/powerpc/kernel/smp.c
arch/powerpc/kexec/core.c
arch/powerpc/mm/Makefile
arch/powerpc/mm/mem.c
arch/riscv/Kconfig
arch/s390/Kconfig
arch/sh/include/asm/mmzone.h
arch/sh/kernel/topology.c
arch/sh/mm/Kconfig
arch/sh/mm/init.c
arch/sparc/Kconfig
arch/sparc/include/asm/mmzone.h
arch/sparc/kernel/smp_64.c
arch/sparc/mm/init_64.c
arch/x86/Kconfig
arch/x86/kernel/setup_percpu.c
arch/x86/mm/init_32.c
include/asm-generic/topology.h
include/linux/memblock.h
include/linux/mm.h
include/linux/mmzone.h
kernel/crash_core.c
mm/Kconfig
mm/memblock.c
mm/memory.c
mm/page_alloc.c
mm/sparse.c