powerpc: Fix build error with 64K pages and !hugetlbfs
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 3 Sep 2008 03:12:05 +0000 (13:12 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 3 Sep 2008 10:53:42 +0000 (20:53 +1000)
commit94ee815c05c9387931e549d83312d30009ed86e9
treefd577e77c7fddd8ed77947c9bf198a5827af3a7e
parent7563dc64585324f443f5ac107eb6d89ee813a2d2
powerpc: Fix build error with 64K pages and !hugetlbfs

HAVE_ARCH_UNMAPPED_AREA and HAVE_ARCH_UNMAPPED_AREA_TOPDOWN must
be defined whenever CONFIG_PPC_MM_SLICES is enabled, not just when
CONFIG_HUGETLB_PAGE is.  They used to be always defined together but
this is no longer the case since 3a8247cc2c856930f34eafce33f6a039227ee175
("powerpc: Only demote individual slices rather than whole process").

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/include/asm/pgtable-ppc64.h