On 2/9/22 07:08, Peter Maydell wrote:
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.mayd...@linaro.org>
---
  include/qemu/cacheinfo.h  | 21 +++++++++++++++++++++
  include/qemu/osdep.h      |  5 -----
  accel/tcg/translate-all.c |  1 +
  plugins/loader.c          |  1 +
  tcg/region.c              |  1 +
  tcg/tcg.c                 |  1 +
  util/atomic64.c           |  1 +
  util/cacheflush.c         |  1 +
  util/cacheinfo.c          |  1 +
  9 files changed, 28 insertions(+), 5 deletions(-)
  create mode 100644 include/qemu/cacheinfo.h

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

r~

Reply via email to