aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMike Kravetz <kravetz@us.ibm.com>2005-11-07 16:48:59 -0500
committerPaul Mackerras <paulus@samba.org>2005-11-07 19:20:00 -0500
commit0286486783a75ef991df3ee250917efb55df75b3 (patch)
tree067d186c3e1f79f44d9ac729cf67c898d329f2ab /arch
parent570142ca37248291c03df9852a5a0ce97f756464 (diff)
[PATCH] Memory Add Fixes for ppc64
On Tue, Nov 08, 2005 at 08:12:56AM +1100, Benjamin Herrenschmidt wrote: > Yes, the MAX_ORDER should be different indeed. But can Kconfig do that ? > That is have the default value be different based on a Kconfig option ? > I don't see that ... We may have to do things differently here... This seems to be done in other parts of the Kconfig file. Using those as an example, this should keep the MAX_ORDER block size at 16MB. Signed-off-by: Mike Kravetz <kravetz@us.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/Kconfig1
-rw-r--r--arch/ppc64/Kconfig1
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 3ac9195dab35..1493c7896fe3 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -492,6 +492,7 @@ source "fs/Kconfig.binfmt"
492config FORCE_MAX_ZONEORDER 492config FORCE_MAX_ZONEORDER
493 int 493 int
494 depends on PPC64 494 depends on PPC64
495 default "9" if PPC_64K_PAGES
495 default "13" 496 default "13"
496 497
497config MATH_EMULATION 498config MATH_EMULATION
diff --git a/arch/ppc64/Kconfig b/arch/ppc64/Kconfig
index 94a81279deac..29552348e581 100644
--- a/arch/ppc64/Kconfig
+++ b/arch/ppc64/Kconfig
@@ -56,6 +56,7 @@ config PPC_STD_MMU
56# max order + 1 56# max order + 1
57config FORCE_MAX_ZONEORDER 57config FORCE_MAX_ZONEORDER
58 int 58 int
59 default "9" if PPC_64K_PAGES
59 default "13" 60 default "13"
60 61
61source "init/Kconfig" 62source "init/Kconfig"