aboutsummaryrefslogtreecommitdiff
path: root/tcg/tci
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2011-11-24 23:16:10 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2011-11-28 11:36:34 -0600
commit51711aee8cb0b17d53872cc06fe73af50c7d9ebd (patch)
treed979e6ebe2724421f89992c267c1654426e01637 /tcg/tci
parentc16ada980f439c414eac83d184ac9fb66ed60cc0 (diff)
tci: Make flush_icache_range() inline
This is standard for other tcg targets and improves tci, too. Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'tcg/tci')
-rw-r--r--tcg/tci/tcg-target.c4
-rw-r--r--tcg/tci/tcg-target.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/tcg/tci/tcg-target.c b/tcg/tci/tcg-target.c
index 942910e14b..fc0880cec5 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 cb5858c9cb..03e0fd1a7f 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 */