On 12/14/20 3:02 PM, Richard Henderson wrote: > This has been a tcg-specific function, but is also in use > by hardware accelerators via physmem.c. This can cause > link errors when tcg is disabled. > > Signed-off-by: Richard Henderson <richard.hender...@linaro.org> > --- > include/qemu/cacheflush.h | 24 +++++++++++++ > tcg/aarch64/tcg-target.h | 5 --- > tcg/arm/tcg-target.h | 5 --- > tcg/i386/tcg-target.h | 4 --- > tcg/mips/tcg-target.h | 11 ------ > tcg/ppc/tcg-target.h | 1 - > tcg/riscv/tcg-target.h | 5 --- > tcg/s390/tcg-target.h | 4 --- > tcg/sparc/tcg-target.h | 8 ----- > tcg/tci/tcg-target.h | 4 --- > softmmu/physmem.c | 1 + > tcg/tcg.c | 1 + > util/cacheflush.c | 71 +++++++++++++++++++++++++++++++++++++++ > MAINTAINERS | 2 ++ > tcg/ppc/tcg-target.c.inc | 22 ------------ > util/meson.build | 2 +- > 16 files changed, 100 insertions(+), 70 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <f4...@amsat.org>