[POWERPC] Fix MAX_ORDER config problem
authorStephen Rothwell <sfr@canb.auug.org.au>
Fri, 11 Apr 2008 01:11:56 +0000 (11:11 +1000)
committerPaul Mackerras <paulus@samba.org>
Tue, 15 Apr 2008 11:21:23 +0000 (21:21 +1000)
commit53bcddb915533c2c41d590e386502a50effd1a21
treef94b03122c81f40f604cd1cad63ac0c8cd71a5d1
parent320787c75ccac3189a1b7aae81f0efc1055f6d3a
[POWERPC] Fix MAX_ORDER config problem

The allyesconfig (among others) build was giving this:

In file included from include/linux/gfp.h:4,
                 from include/linux/slab.h:14,
                 from include/linux/percpu.h:5,
                 from include2/asm/time.h:18,
                 from include2/asm/cputime.h:26,
                 from include/linux/sched.h:67,
                 from
arch/powerpc/kernel/asm-offsets.c:17:
include/linux/mmzone.h:791:2: error: #error Allocator MAX_ORDER exceeds SECTION_SIZE

Kconfig options are order depenendent, so move the setting of
FORCE_MAX_ZONEORDER to after the setting of PPC_64K_PAGES. Also add an
explicit !PPC_64K_PAGES.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/Kconfig