summaryrefslogtreecommitdiff
path: root/arch/arm64/mm/fault.c
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2017-07-06 11:46:39 +0100
committerCatalin Marinas <catalin.marinas@arm.com>2017-08-21 11:12:39 +0100
commit0966253d7ccddc42a5211b3488bb4f202c04de1b (patch)
treeb20b966306224972d5e464e41c7d9cd2445fe0db /arch/arm64/mm/fault.c
parent3bbf7157ac66a88d94b291d4d5e2b2a9319a0f90 (diff)
kvm: arm64: Convert kvm_set_s2pte_readonly() from inline asm to cmpxchg()
To take advantage of the LSE atomic instructions and also make the code cleaner, convert the kvm_set_s2pte_readonly() function to use the more generic cmpxchg(). Cc: Marc Zyngier <marc.zyngier@arm.com> Reviewed-by: Will Deacon <will.deacon@arm.com> Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org> Acked-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/mm/fault.c')
0 files changed, 0 insertions, 0 deletions