Commit 02864867 authored by Mike Kravetz's avatar Mike Kravetz Committed by Paul Mackerras

[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: default avatarMike Kravetz <kravetz@us.ibm.com>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 570142ca
...@@ -492,6 +492,7 @@ source "fs/Kconfig.binfmt" ...@@ -492,6 +492,7 @@ source "fs/Kconfig.binfmt"
config FORCE_MAX_ZONEORDER config FORCE_MAX_ZONEORDER
int int
depends on PPC64 depends on PPC64
default "9" if PPC_64K_PAGES
default "13" default "13"
config MATH_EMULATION config MATH_EMULATION
......
...@@ -56,6 +56,7 @@ config PPC_STD_MMU ...@@ -56,6 +56,7 @@ config PPC_STD_MMU
# max order + 1 # max order + 1
config FORCE_MAX_ZONEORDER config FORCE_MAX_ZONEORDER
int int
default "9" if PPC_64K_PAGES
default "13" default "13"
source "init/Kconfig" source "init/Kconfig"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment