summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/Kconfig
diff options
context:
space:
mode:
authorHamish Martin <hamish.martin@alliedtelesis.co.nz>2017-02-24 13:52:09 +1300
committerMichael Ellerman <mpe@ellerman.id.au>2017-03-20 19:02:49 +1100
commit476134070c037820bd909ff6e43e0d3eae33f376 (patch)
tree0c53d520499d625a8e37999866fce33284e25894 /arch/powerpc/Kconfig
parent97da3854c526d3a6ee05c849c96e48d21527606c (diff)
downloadtalos-obmc-linux-476134070c037820bd909ff6e43e0d3eae33f376.tar.gz
talos-obmc-linux-476134070c037820bd909ff6e43e0d3eae33f376.zip
powerpc: Move THREAD_SHIFT config to Kconfig
Shift the logic for defining THREAD_SHIFT logic to Kconfig in order to allow override by users. Signed-off-by: Hamish Martin <hamish.martin@alliedtelesis.co.nz> Reviewed-by: Chris Packham <chris.packham@alliedtelesis.co.nz> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/Kconfig')
-rw-r--r--arch/powerpc/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 97a8bc8a095c..45724923a69c 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -678,6 +678,16 @@ config PPC_256K_PAGES
endchoice
+config THREAD_SHIFT
+ int "Thread shift" if EXPERT
+ range 13 15
+ default "15" if PPC_256K_PAGES
+ default "14" if PPC64
+ default "13"
+ help
+ Used to define the stack size. The default is almost always what you
+ want. Only change this if you know what you are doing.
+
config FORCE_MAX_ZONEORDER
int "Maximum zone order"
range 8 9 if PPC64 && PPC_64K_PAGES
OpenPOWER on IntegriCloud