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)
committerSteve Capper <steve.capper@linaro.org>
Fri, 14 Jun 2013 08:40:15 +0000 (09:40 +0100)
commit53313b2c9130a54dece8595c5a77fd787f340433
treef0c32e54fd2abfbc8c932635448d6ba237cc90e1
parent9e5fc74c30250566ff9154effdb17d6d18952052
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