diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2019-02-21 22:08:46 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2019-02-23 13:04:32 +0300 |
commit | 555f4fdb93e70d39e664fcc52cda23c5b62a46cc (patch) | |
tree | cadf6abe9041b92b5640ee1009543023a684bf67 /arch/powerpc/Kconfig | |
parent | 28ea38b9cba68eec55cf550acd6b36b6f507cd17 (diff) | |
download | linux-555f4fdb93e70d39e664fcc52cda23c5b62a46cc.tar.xz |
powerpc/kconfig: define PAGE_SHIFT inside Kconfig
This patch defined CONFIG_PPC_PAGE_SHIFT in order
to be able to use PAGE_SHIFT value inside Kconfig.
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 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 3d5d63c9b797..0f933797c376 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -704,6 +704,13 @@ config PPC_256K_PAGES endchoice +config PPC_PAGE_SHIFT + int + default 18 if PPC_256K_PAGES + default 16 if PPC_64K_PAGES + default 14 if PPC_16K_PAGES + default 12 + config THREAD_SHIFT int "Thread shift" if EXPERT range 13 15 |