arm64: mm: Drop pte_huge()
authorAnshuman Khandual <anshuman.khandual@arm.com>
Tue, 2 Jul 2019 05:32:55 +0000 (11:02 +0530)
committerWill Deacon <will@kernel.org>
Mon, 22 Jul 2019 11:06:38 +0000 (12:06 +0100)
commit5a9060e9437be47f92f85a2b5c7cd73314d080e8
tree74fb98674fa73ffa65be69b083c216eb66eb689c
parented2f3e9ff637c7c9f65b98468a084393683ff93b
arm64: mm: Drop pte_huge()

This helper is required from generic huge_pte_alloc() which is available
when arch subscribes ARCH_WANT_GENERAL_HUGETLB. arm64 implements it's own
huge_pte_alloc() and does not depend on the generic definition. Drop this
helper which is redundant on arm64.

Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Steve Capper <Steve.Capper@arm.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/include/asm/pgtable.h