x86: mm: Remove general hugetlb code from x86.
authorSteve Capper <steve.capper@linaro.org>
Tue, 30 Apr 2013 07:03:42 +0000 (08:03 +0100)
committerMark Brown <broonie@linaro.org>
Thu, 15 May 2014 18:59:48 +0000 (19:59 +0100)
commit60061a496643b97b9e36042c5a3af7f286d7f0fa
tree1b32335302d53ae38847e41bf9c1ad0d58954b91
parentba310aa51d8b732c9f6d66d66b9458bc917c19a7
x86: mm: Remove general hugetlb code from x86.

huge_pte_alloc, huge_pte_offset and follow_huge_p[mu]d have
already been copied over to mm.

This patch removes the x86 copies of these functions and activates
the general ones by enabling:
CONFIG_ARCH_WANT_GENERAL_HUGETLB

Signed-off-by: Steve Capper <steve.capper@linaro.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Andrew Morton <akpm@linux-foundation.org>
arch/x86/Kconfig
arch/x86/mm/hugetlbpage.c