qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] tcg: Fix tci build


From: jincheng . miao
Subject: [Qemu-devel] [PATCH] tcg: Fix tci build
Date: Tue, 12 Sep 2017 08:17:39 +0800

From: Jincheng Miao <address@hidden>

The previous commit 659ef5cbb8 enable LDST_LABELS in tci target,
but which causes tci build error like:
tcg/tcg.c:116:13: error: ‘tcg_out_ldst_finalize’ used but never defined 
[-Werror]
 static bool tcg_out_ldst_finalize(TCGContext *s);
             ^
cc1: all warnings being treated as errors
make[1]: *** [tcg/tcg.o] Error 1
make: *** [subdir-x86_64-softmmu] Error 2

If this macro is not used in tci, we could just delete it.

Signed-off-by: Jincheng Miao <address@hidden>
---
 tcg/tci/tcg-target.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/tcg/tci/tcg-target.h b/tcg/tci/tcg-target.h
index 5d692e1..26140d7 100644
--- a/tcg/tci/tcg-target.h
+++ b/tcg/tci/tcg-target.h
@@ -206,8 +206,4 @@ static inline void tb_target_set_jmp_target(uintptr_t 
tc_ptr,
     /* no need to flush icache explicitly */
 }
 
-#ifdef CONFIG_SOFTMMU
-#define TCG_TARGET_NEED_LDST_LABELS
-#endif
-
 #endif /* TCG_TARGET_H */
-- 
1.8.3.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]