qemu-ppc
[Top][All Lists]
Advanced

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

[PATCH 2/4] accel/tcg: Remove unused tcg_flush_jmp_cache() stub


From: Philippe Mathieu-Daudé
Subject: [PATCH 2/4] accel/tcg: Remove unused tcg_flush_jmp_cache() stub
Date: Thu, 14 Sep 2023 21:52:27 +0200

Since commit ba7d3d1858 ("cpu_common_reset: wrap TCG
specific code in tcg_enabled()") we protect the single call
to tcg_flush_jmp_cache() with a check on tcg_enabled(). The
stub isn't needed anymore.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
 accel/stubs/tcg-stub.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/accel/stubs/tcg-stub.c b/accel/stubs/tcg-stub.c
index f088054f34..dd890d6cf6 100644
--- a/accel/stubs/tcg-stub.c
+++ b/accel/stubs/tcg-stub.c
@@ -18,10 +18,6 @@ void tb_flush(CPUState *cpu)
 {
 }
 
-void tcg_flush_jmp_cache(CPUState *cpu)
-{
-}
-
 int probe_access_flags(CPUArchState *env, vaddr addr, int size,
                        MMUAccessType access_type, int mmu_idx,
                        bool nonfault, void **phost, uintptr_t retaddr)
-- 
2.41.0




reply via email to

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