x86: mm: Remove x86 version of huge_pmd_share.
authorSteve Capper <steve.capper@linaro.org>
Mon, 29 Apr 2013 13:29:48 +0000 (14:29 +0100)
committerMark Brown <broonie@linaro.org>
Thu, 15 May 2014 18:59:47 +0000 (19:59 +0100)
commit2b78f19ada9fc885b16d148163831ae7eb67b739
tree7737c144f72ba3117a65f8b03be7b29695cd6a2b
parentaee2c0d2d061df8d978c73022b48049de78e6a46
x86: mm: Remove x86 version of huge_pmd_share.

The huge_pmd_share code has been copied over to mm/hugetlb.c to
make it accessible to other architectures.

Remove the x86 copy of the huge_pmd_share code and enable the
ARCH_WANT_HUGE_PMD_SHARE config flag. That way we reference the
general one.

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