arm64: pgtable: implement pte_accessible()
authorWill Deacon <will.deacon@arm.com>
Fri, 30 Oct 2015 18:56:19 +0000 (18:56 +0000)
committerAlex Shi <alex.shi@linaro.org>
Wed, 11 May 2016 07:56:34 +0000 (15:56 +0800)
commit6e8ef09edf4a9e61a04fad753ffeebaecc60b568
tree33d89a498076dae8cce03b1d846083c259f45843
parent6329e5d3b74540578dbbf4550fdc53c52c706c94
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>
(cherry picked from commit 76c714be0e5e60c935a53b31be58939510ba1d0f)
Signed-off-by: Alex Shi <alex.shi@linaro.org>
arch/arm64/include/asm/pgtable.h