On 9/3/21 8:13 PM, Philippe Mathieu-Daudé wrote:
Restrict has_work() to TCG sysemu.
Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org>
---
target/sh4/cpu.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/target/sh4/cpu.c b/target/sh4/cpu.c
index 2047742d03c..6c47d28631c 100644
--- a/target/sh4/cpu.c
+++ b/target/sh4/cpu.c
@@ -58,12 +58,15 @@ static bool superh_io_recompile_replay_branch(CPUState *cs,
}
return false;
}
-#endif
+#if defined(CONFIG_TCG)
static bool superh_cpu_has_work(CPUState *cs)
No CONFIG_TCG, otherwise,
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
r~