]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3376d753bc49653c288b54bac05fe5a0205231ad
treefd577e77c7fddd8ed77947c9bf198a5827af3a7e
parentb0e2b8e2c6037db96de68413fb3337783e0f8326
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 b83f707c922bb78ae1b3821a37e03282ef1b483a
("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