forked from rubenslte/android_kernel_samsung_msm8226
ARM: allow memory hotplug/hotremove
Add ARM to the supported list of architectures for MEMORY_HOTPLUG. For ARM, the selection of MEMORY_HOTPLUG/REMOVE is specific to the sub-arch and has to be explicitly enabled by the sub-arch. Signed-off-by: Bryan Huntsman <bryanh@codeaurora.org>
This commit is contained in:
committed by
Linux Build Service Account
parent
c1ab5d376f
commit
45f580d9c3
@@ -1634,6 +1634,12 @@ config DONT_MAP_HOLE_AFTER_MEMBANK0
|
||||
def_bool n
|
||||
depends on SPARSEMEM
|
||||
|
||||
config ARCH_ENABLE_MEMORY_HOTPLUG
|
||||
def_bool n
|
||||
|
||||
config ARCH_ENABLE_MEMORY_HOTREMOVE
|
||||
def_bool n
|
||||
|
||||
config FORCE_MAX_ZONEORDER
|
||||
int "Maximum zone order" if ARCH_SHMOBILE
|
||||
range 11 64 if ARCH_SHMOBILE
|
||||
|
||||
+1
-1
@@ -136,7 +136,7 @@ config MEMORY_HOTPLUG
|
||||
bool "Allow for memory hot-add"
|
||||
depends on SPARSEMEM || X86_64_ACPI_NUMA
|
||||
depends on HOTPLUG && ARCH_ENABLE_MEMORY_HOTPLUG
|
||||
depends on (IA64 || X86 || PPC_BOOK3S_64 || SUPERH || S390)
|
||||
depends on (IA64 || X86 || PPC_BOOK3S_64 || SUPERH || S390 || ARM)
|
||||
|
||||
config MEMORY_HOTPLUG_SPARSE
|
||||
def_bool y
|
||||
|
||||
Reference in New Issue
Block a user