UPSTREAM: arm64: pgtable: implement pte_accessible()
authorWill Deacon <will.deacon@arm.com>
Fri, 30 Oct 2015 18:56:19 +0000 (18:56 +0000)
committerJeff Vander Stoep <jeffv@google.com>
Thu, 15 Sep 2016 23:19:06 +0000 (16:19 -0700)
commit7152164d7b5fdfe68423ca1568fc227e92d3d6f7
treec3bf0beb59e0f8190de0b069394fcd33d6c0ff6e
parentab8158d22085047097653a799fc9bae6e9920edf
UPSTREAM: arm64: pgtable: implement pte_accessible()

This patch implements the pte_accessible() macro, which can be used to
test whether or not a given pte is a candidate for allocation in the
TLB.

Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Bug: 30369029

(cherry picked from commit 76c714be0e5e60c935a53b31be58939510ba1d0f)
Signed-off-by: Jeff Vander Stoep <jeffv@google.com>
Change-Id: I249e2d15665870149dd17d1cdb3850008f5a56fd
arch/arm64/include/asm/pgtable.h