summary refs log tree commit diff stats
path: root/system/dma-helpers.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2024-05-07 14:12:46 +0200
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-05-08 19:43:23 +0200
commitd5e268197aa2ba89bc0540717c72be2c69568b62 (patch)
treed6b92bd56db788bf153cfb1f7e54eae19d3022e5 /system/dma-helpers.c
parente6578f1f68a0e90789a841ada532c3e494c9a04c (diff)
downloadfocaccia-qemu-d5e268197aa2ba89bc0540717c72be2c69568b62.tar.gz
focaccia-qemu-d5e268197aa2ba89bc0540717c72be2c69568b62.zip
system/physmem: Replace qemu_mutex_lock() calls with QEMU_LOCK_GUARD
Simplify cpu_[un]register_map_client() and cpu_notify_map_clients()
by replacing the pair of qemu_mutex_lock/qemu_mutex_unlock calls by
the WITH_QEMU_LOCK_GUARD() macro.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Mattias Nissler <mnissler@rivosinc.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Message-Id: <20240507123025.93391-2-philmd@linaro.org>
Diffstat (limited to 'system/dma-helpers.c')
0 files changed, 0 insertions, 0 deletions