powerpc: Define/use HUGETLB_NEED_PRELOAD insead of complicated #if
authorBecky Bruce <beckyb@kernel.crashing.org>
Tue, 29 Nov 2011 15:10:39 +0000 (15:10 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 7 Dec 2011 05:26:24 +0000 (16:26 +1100)
commit1f6820b4c1d09b017625ce32ba23fa39ebfdb27a
treeb3c1f88fa415d5d8bbb4ca90063467aeaead68f1
parentd93e4d7d72037d8c9405e8d404ecb2ee162adc25
powerpc: Define/use HUGETLB_NEED_PRELOAD insead of complicated #if

Define HUGETLB_NEED_PRELOAD in mmu-book3e.h for CONFIG_PPC64 instead
of having a much more complicated #if block.  This is easier to read
and maintain.

Signed-off-by: Becky Bruce <beckyb@kernel.crashing.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/hugetlb.h
arch/powerpc/include/asm/mmu-book3e.h