ARM: 7792/1: mm: Remove general hugetlb code from ARM
authorSteven Capper <steve.capper@linaro.org>
Fri, 26 Jul 2013 13:58:22 +0000 (14:58 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 31 Jul 2013 10:13:22 +0000 (11:13 +0100)
commit4bfab2034bab9374eba1921cf7bd51fd8d48661b
tree1646fd0daf6df9bacb78a129c294df7a45bb49f1
parentc9218b163959fafa76ffbee0baa3ef269838f410
ARM: 7792/1: mm: Remove general hugetlb code from ARM

General forms of huge_pte_alloc, huge_pte_offset and follow_huge_pmd
are now available in mm/hugetlb.c.

This patch removes the ARM 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>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/Kconfig
arch/arm/mm/hugetlbpage.c