On 1/21/25 06:23, Philippe Mathieu-Daudé wrote:
Move has_work() from CPUClass to SysemuCPUOps, move
s390_cpu_has_work() to cpu-system.c so it is only build
for system emulation binaries, restrict functions not
used anymore on user emulation in interrupt.c.
Signed-off-by: Philippe Mathieu-Daudé<phi...@linaro.org>
---
target/s390x/s390x-internal.h | 3 +++
target/s390x/cpu-system.c | 18 ++++++++++++++++++
target/s390x/cpu.c | 18 ------------------
target/s390x/interrupt.c | 8 ++------
4 files changed, 23 insertions(+), 24 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
r~