On 9/2/21 5:17 PM, Philippe Mathieu-Daudé wrote:
All targets call TCGCPUOps::cpu_exec_interrupt() from sysemu code.
Move its declaration to restrict it to system emulation.
Extend the code guarded and remove the user-mode assertion.
Also restrict the static inlined need_replay_interrupt() method to
avoid a "defined but not used" warning.

Signed-off-by: Philippe Mathieu-Daudé<f4...@amsat.org>
---
  include/hw/core/tcg-cpu-ops.h |  4 ++--
  accel/tcg/cpu-exec.c          | 13 +++++++------
  2 files changed, 9 insertions(+), 8 deletions(-)

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

r~

Reply via email to