Skip to content

Commit

Permalink
mm/Kconfig: remove redundant arch depend for memory hotplug
Browse files Browse the repository at this point in the history
MEMORY_HOTPLUG already depends on ARCH_ENABLE_MEMORY_HOTPLUG which is
selected by the supported architectures, so the following arch depend is
unnecessary.

Signed-off-by: Yang Shi <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Yang Shi authored and torvalds committed Mar 17, 2016
1 parent 01609ec commit 7eb5029
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion mm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@ config MEMORY_HOTPLUG
bool "Allow for memory hot-add"
depends on SPARSEMEM || X86_64_ACPI_NUMA
depends on ARCH_ENABLE_MEMORY_HOTPLUG
depends on (IA64 || X86 || PPC_BOOK3S_64 || SUPERH || S390)

config MEMORY_HOTPLUG_SPARSE
def_bool y
Expand Down

0 comments on commit 7eb5029

Please sign in to comment.