summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2017-07-06 13:46:39 +0300
committerCatalin Marinas <catalin.marinas@arm.com>2017-08-21 13:12:39 +0300
commit0966253d7ccddc42a5211b3488bb4f202c04de1b (patch)
treeb20b966306224972d5e464e41c7d9cd2445fe0db /scripts/gdb/linux/utils.py
parent3bbf7157ac66a88d94b291d4d5e2b2a9319a0f90 (diff)
downloadlinux-0966253d7ccddc42a5211b3488bb4f202c04de1b.tar.xz
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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions