diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2020-12-14 08:02:33 -0600 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-01-02 21:03:36 +0100 |
commit | 084cfca143487d9b3ef37e7ee117f30e8e301af1 (patch) | |
tree | 9aa2651b668bdd7421d58814608e8b7bb20af5f5 /tcg/tci | |
parent | 3b9bd3f46b3b92501186acd18e81d3e8510b7b09 (diff) | |
download | qemu-084cfca143487d9b3ef37e7ee117f30e8e301af1.zip |
util: Extract flush_icache_range to cacheflush.c
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.henderson@linaro.org>
Reviewed-by: Joelle van Dyne <j@getutm.app>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20201214140314.18544-3-richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tcg/tci')
-rw-r--r-- | tcg/tci/tcg-target.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tcg/tci/tcg-target.h b/tcg/tci/tcg-target.h index 8c1c1d265d..b84480f989 100644 --- a/tcg/tci/tcg-target.h +++ b/tcg/tci/tcg-target.h @@ -191,10 +191,6 @@ void tci_disas(uint8_t opc); #define HAVE_TCG_QEMU_TB_EXEC -static inline void flush_icache_range(uintptr_t start, uintptr_t stop) -{ -} - /* We could notice __i386__ or __s390x__ and reduce the barriers depending on the host. But if you want performance, you use the normal backend. We prefer consistency across hosts on this. */ |