Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 35551053 authored by Gary Hade's avatar Gary Hade Committed by Ingo Molnar
Browse files

x86: add memory hotremove config option



Impact: enable CONFIG_MEMORY_HOTREMOVE feature on x86. (default-off)

Memory hotremove functionality can currently be configured into
the ia64, powerpc, and s390 kernels.

This patch makes it possible to configure the memory hotremove
functionality into the x86 kernel as well.

Signed-off-by: default avatarBadari Pulavarty <pbadari@us.ibm.com>
Signed-off-by: default avatarGary Hade <garyhade@us.ibm.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 9e899816
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1492,6 +1492,10 @@ config ARCH_ENABLE_MEMORY_HOTPLUG
	def_bool y
	depends on X86_64 || (X86_32 && HIGHMEM)

config ARCH_ENABLE_MEMORY_HOTREMOVE
	def_bool y
	depends on MEMORY_HOTPLUG

config HAVE_ARCH_EARLY_PFN_TO_NID
	def_bool X86_64
	depends on NUMA