|
From: | Richard Henderson |
Subject: | Re: [PATCH v3 26/30] target/sh4: Restrict has_work() handler to sysemu and TCG |
Date: | Fri, 3 Sep 2021 22:45:04 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 |
On 9/3/21 8:13 PM, Philippe Mathieu-Daudé wrote:
Restrict has_work() to TCG sysemu. Signed-off-by: Philippe Mathieu-Daudé <f4bug@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.henderson@linaro.org> r~
[Prev in Thread] | Current Thread | [Next in Thread] |