summary refs log tree commit diff stats
path: root/include/qemu/bitops.h
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-04-28 11:33:28 +0100
committerRichard Henderson <richard.henderson@linaro.org>2023-05-02 12:31:50 -0700
commit6a6447fe252e2f1c48d6e8cc1bd36515852e8040 (patch)
tree9fd0dc31149868630393054952af5754c87111ca /include/qemu/bitops.h
parentc586691e676214eb7edf6a468e84e7ce3b314d43 (diff)
downloadfocaccia-qemu-6a6447fe252e2f1c48d6e8cc1bd36515852e8040.tar.gz
focaccia-qemu-6a6447fe252e2f1c48d6e8cc1bd36515852e8040.zip
softmmu: Tidy dirtylimit_dirty_ring_full_time
Drop inline marker: let compiler decide.

Change return type to uint64_t: this matches the computation in the
return statement and the local variable assignment in the caller.

Rename local to dirty_ring_size_MB to fix typo.
Simplify conversion to MiB via qemu_target_page_bits and right shift.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/qemu/bitops.h')
0 files changed, 0 insertions, 0 deletions