arm64: pgtable: implement pte_accessible()
authorWill Deacon <will.deacon@arm.com>
Fri, 30 Oct 2015 18:56:19 +0000 (18:56 +0000)
committerWill Deacon <will.deacon@arm.com>
Tue, 1 Dec 2015 09:47:03 +0000 (09:47 +0000)
commit76c714be0e5e60c935a53b31be58939510ba1d0f
tree106dcc2450ab8d83da0819c3362172d44f0cfca9
parent9c4e08a3022b6df90d31ef4007291faabfce5431
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>
arch/arm64/include/asm/pgtable.h