]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
arm64: pgtable: fix definition of pte_valid
authorWill Deacon <will.deacon@arm.com>
Tue, 28 Jul 2015 15:14:03 +0000 (16:14 +0100)
committerWill Deacon <will.deacon@arm.com>
Tue, 28 Jul 2015 15:14:03 +0000 (16:14 +0100)
commit766ffb69803943c2b580a44ac14a189b875d21f6
tree3299e2b9f63e225e743ecb425b8195f19823f4a6
parentc1d7cd228b4b46eca1dbd9bb2c6053f477a1a6ff
arm64: pgtable: fix definition of pte_valid

pte_valid should check if the PTE_VALID bit (1 << 0) is set in the pte,
so fix the macro definition to use bitwise & instead of logical &&.

Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/pgtable.h