arm64: Introduce {set,clear}_pte_bit
authorLaura Abbott <lauraa@codeaurora.org>
Tue, 19 Aug 2014 19:41:42 +0000 (20:41 +0100)
committerWill Deacon <will.deacon@arm.com>
Mon, 8 Sep 2014 13:39:18 +0000 (14:39 +0100)
commitb6d4f2800b7bad654caf00654f4bff21594ef838
tree9d6d26aa5587d8c65ea64dd61068db2659a1c2f0
parent5e051531447259e5df95c44bccb69979537c19e4
arm64: Introduce {set,clear}_pte_bit

It's useful to be able to change individual bits in ptes at times.
Introduce functions for this and update existing pte_mk* functions
to use these primatives.

Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
[will: added missing inline keyword for new header functions]
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/pgtable.h