summaryrefslogtreecommitdiffstats
path: root/util/atomic64.c
diff options
context:
space:
mode:
authorPeter Maydell2022-02-08 21:08:55 +0100
committerPeter Maydell2022-02-21 14:30:20 +0100
commitad768e6f2a3397ec88ae874ad743df5d7c8c1936 (patch)
treef34e909ce9b700b1033830c389642e0105195936 /util/atomic64.c
parentinclude: Move QEMU_MAP_* constants to mmap-alloc.h (diff)
downloadqemu-ad768e6f2a3397ec88ae874ad743df5d7c8c1936.tar.gz
qemu-ad768e6f2a3397ec88ae874ad743df5d7c8c1936.tar.xz
qemu-ad768e6f2a3397ec88ae874ad743df5d7c8c1936.zip
include: Move qemu_[id]cache_* declarations to new qemu/cacheinfo.h
The qemu_icache_linesize, qemu_icache_linesize_log, qemu_dcache_linesize, and qemu_dcache_linesize_log variables are not used in many files. Move them out of osdep.h to a new qemu/cacheinfo.h, and document them. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20220208200856.3558249-5-peter.maydell@linaro.org
Diffstat (limited to 'util/atomic64.c')
-rw-r--r--util/atomic64.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/atomic64.c b/util/atomic64.c
index 93037d5b11..22983a970f 100644
--- a/util/atomic64.c
+++ b/util/atomic64.c
@@ -7,6 +7,7 @@
#include "qemu/osdep.h"
#include "qemu/atomic.h"
#include "qemu/thread.h"
+#include "qemu/cacheinfo.h"
#ifdef CONFIG_ATOMIC64
#error This file must only be compiled if !CONFIG_ATOMIC64