diff options
author | Christophe Leroy | 2019-04-26 07:59:48 +0200 |
---|---|---|
committer | Michael Ellerman | 2019-05-02 17:20:24 +0200 |
commit | c5710cd20735037ba9be0e95530f0d3795ce07e6 (patch) | |
tree | 045e2e4b5ce52e3e4ef8a14d4d8bd38cd6b4ae46 /arch/powerpc/Kconfig | |
parent | powerpc/mm: move hugetlb_disabled into asm/hugetlb.h (diff) | |
download | kernel-qcow2-linux-c5710cd20735037ba9be0e95530f0d3795ce07e6.tar.gz kernel-qcow2-linux-c5710cd20735037ba9be0e95530f0d3795ce07e6.tar.xz kernel-qcow2-linux-c5710cd20735037ba9be0e95530f0d3795ce07e6.zip |
powerpc/mm: cleanup HPAGE_SHIFT setup
Only book3s/64 may select default among several HPAGE_SHIFT at runtime.
8xx always defines 512K pages as default
FSL_BOOK3E always defines 4M pages as default
This patch limits HUGETLB_PAGE_SIZE_VARIABLE to book3s/64
moves the definitions in subarches files.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/Kconfig')
-rw-r--r-- | arch/powerpc/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 5d8e692d6470..7815eb0cc2a5 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -390,7 +390,7 @@ source "kernel/Kconfig.hz" config HUGETLB_PAGE_SIZE_VARIABLE bool - depends on HUGETLB_PAGE + depends on HUGETLB_PAGE && PPC_BOOK3S_64 default y config MATH_EMULATION |