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)
committerSteve Capper <steve.capper@linaro.org>
Fri, 14 Jun 2013 08:39:46 +0000 (09:39 +0100)
commitcfe28c5d63d86b558a1bf1990db7a0aa55b2dec9
treed615c2bdbe4ec24514e8f658976d06d340c1101c
parent3212b535f200c85b5a67cbfaea18431da71b5c72
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