From: Stefan Weil Date: Thu, 24 Nov 2011 22:16:10 +0000 (+0100) Subject: tci: Make flush_icache_range() inline X-Git-Tag: qemu-xen-4.3.0-rc1~1962 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=51711aee8cb0b17d53872cc06fe73af50c7d9ebd;p=qemu-upstream-4.3-testing.git tci: Make flush_icache_range() inline This is standard for other tcg targets and improves tci, too. Signed-off-by: Stefan Weil Signed-off-by: Anthony Liguori --- diff --git a/tcg/tci/tcg-target.c b/tcg/tci/tcg-target.c index 942910e14..fc0880cec 100644 --- a/tcg/tci/tcg-target.c +++ b/tcg/tci/tcg-target.c @@ -373,10 +373,6 @@ static const char *const tcg_target_reg_names[TCG_TARGET_NB_REGS] = { }; #endif -static void flush_icache_range(unsigned long start, unsigned long stop) -{ -} - static void patch_reloc(uint8_t *code_ptr, int type, tcg_target_long value, tcg_target_long addend) { diff --git a/tcg/tci/tcg-target.h b/tcg/tci/tcg-target.h index cb5858c9c..03e0fd1a7 100644 --- a/tcg/tci/tcg-target.h +++ b/tcg/tci/tcg-target.h @@ -157,4 +157,8 @@ void tci_disas(uint8_t opc); unsigned long tcg_qemu_tb_exec(CPUState *env, uint8_t *tb_ptr); #define tcg_qemu_tb_exec tcg_qemu_tb_exec +static inline void flush_icache_range(unsigned long start, unsigned long stop) +{ +} + #endif /* TCG_TARGET_H */