Use RCU_READ_LOCK_GUARD and WITH_RCU_READ_LOCK_GUARD to replace the manual rcu_read_(un)lock calls.
Philippe Mathieu-Daudé (6): accel/tcg/cpu-exec: Use RCU_READ macro hw/9pfs/9p-synth: Use RCU_READ macro hw/display/virtio-gpu-udmabuf: Use RCU_READ macro hw/scsi/virtio-scsi: Use RCU_READ macro hw/vfio/common: Use RCU_READ macros hw/virtio/vhost: Use RCU_READ macro accel/tcg/cpu-exec.c | 24 +++++++++++------------ hw/9pfs/9p-synth.c | 24 +++++++++++------------ hw/display/virtio-gpu-udmabuf.c | 6 +++--- hw/scsi/virtio-scsi.c | 12 ++++++------ hw/vfio/common.c | 34 ++++++++++++++++----------------- hw/virtio/vhost.c | 6 +++--- 6 files changed, 52 insertions(+), 54 deletions(-) -- 2.41.0
