summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2025-07-08 11:57:43 +0200
committerThomas Huth <thuth@redhat.com>2025-07-11 10:33:56 +0200
commit40c94731c4495e78f0f7402890eb01a0f43a64ca (patch)
tree374baef668e495f9c8127b56a046f6a191178e09
parent3b1cf40dd665a0c4c38bc339fea6eacf1742b46c (diff)
downloadfocaccia-qemu-40c94731c4495e78f0f7402890eb01a0f43a64ca.tar.gz
focaccia-qemu-40c94731c4495e78f0f7402890eb01a0f43a64ca.zip
target/s390x: Remove unused s390_cpu_[un]halt() user stubs
Since commit da944885469 ("target/s390x: make helper.c
sysemu-only") target/s390x/helper.c is only built for
system mode, so s390_cpu_halt() and s390_cpu_unhalt()
are never called from user mode.

Fixes: da944885469 ("target/s390x: make helper.c sysemu-only")
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20250708095746.12697-2-philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
-rw-r--r--target/s390x/s390x-internal.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/target/s390x/s390x-internal.h b/target/s390x/s390x-internal.h
index a4ba6227ab..6894f0a256 100644
--- a/target/s390x/s390x-internal.h
+++ b/target/s390x/s390x-internal.h
@@ -246,16 +246,6 @@ void s390_cpu_finalize(Object *obj);
 void s390_cpu_system_class_init(CPUClass *cc);
 void s390_cpu_machine_reset_cb(void *opaque);
 bool s390_cpu_has_work(CPUState *cs);
-
-#else
-static inline unsigned int s390_cpu_halt(S390CPU *cpu)
-{
-    return 0;
-}
-
-static inline void s390_cpu_unhalt(S390CPU *cpu)
-{
-}
 #endif /* CONFIG_USER_ONLY */