]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commitdiff
tci: Make flush_icache_range() inline
authorStefan Weil <sw@weilnetz.de>
Thu, 24 Nov 2011 22:16:10 +0000 (23:16 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 28 Nov 2011 17:36:34 +0000 (11:36 -0600)
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>
tcg/tci/tcg-target.c
tcg/tci/tcg-target.h

index 942910e14b26d3ef6540d1a0ecc8ba259c4424ee..fc0880cec54c3610bd2c5c8ad28573db2d3c4621 100644 (file)
@@ -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)
 {
index cb5858c9cb80781146b234bdc07a51d4a4386376..03e0fd1a7faaf991b13ce2521654acc4e30ba0e7 100644 (file)
@@ -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 */