]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6bfc75df073de475836f74aff2d5a9f495930593
treeb3c1f88fa415d5d8bbb4ca90063467aeaead68f1
parentaf301383f7a5fff4c8f9f21b25b275e3a5bc3e7d
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