x86, arm64: Move ARCH_WANT_HUGE_PMD_SHARE config in arch/Kconfig

ARCH_WANT_HUGE_PMD_SHARE config was declared in both architectures:
move this declaration in arch/Kconfig and make those architectures
select it.

Signed-off-by: Alexandre Ghiti <[email protected]>
Reviewed-by: Palmer Dabbelt <[email protected]>
Acked-by: Ingo Molnar <[email protected]>
Acked-by: Catalin Marinas <[email protected]> # for arm64
Reviewed-by: Hanjun Guo <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Paul Walmsley <[email protected]>
This commit is contained in:
Alexandre Ghiti 2019-06-27 15:00:11 -07:00 • committed by Paul Walmsley
commit 3876d4a38a
3 changed files with 5 additions and 4 deletions

View file

@ -577,6 +577,9 @@ config HAVE_ARCH_TRANSPARENT_HUGEPAGE_PUD
config HAVE_ARCH_HUGE_VMAP
bool
config ARCH_WANT_HUGE_PMD_SHARE
bool
config HAVE_ARCH_SOFT_DIRTY
bool