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>
Fri, 9 May 2014 11:02:46 +0000 (12:02 +0100)
commit66ea6bbaf026e39c62d0245e37bfd99170337fcf
tree373656c811044968c930f1ef9e06bad6f9212887
parentba47dd3ca215b7dbdd638bad985db555997506a5
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