summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2025-07-01 15:08:31 +0100
committerPeter Maydell <peter.maydell@linaro.org>2025-07-01 15:08:31 +0100
commita5b94f6c7b3a6ae583ba07098bff810049262413 (patch)
treeadd7656d81ef9ca0dde50e06aec48fe7b8500701
parent96791e69e644669bbc969424f0f31f0b6f522403 (diff)
downloadfocaccia-qemu-a5b94f6c7b3a6ae583ba07098bff810049262413.tar.gz
focaccia-qemu-a5b94f6c7b3a6ae583ba07098bff810049262413.zip
target/arm: Remove arm_handle_psci_call() stub
Since commit 0c1aaa66c24 ("target/arm: wrap psci call with
tcg_enabled") the arm_handle_psci_call() call is elided
when TCG is disabled.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20250623121845.7214-2-philmd@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r--target/arm/internals.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/target/arm/internals.h b/target/arm/internals.h
index 6216f68c94..21a8d67edd 100644
--- a/target/arm/internals.h
+++ b/target/arm/internals.h
@@ -650,16 +650,12 @@ static inline bool arm_is_psci_call(ARMCPU *cpu, int excp_type)
 {
     return false;
 }
-static inline void arm_handle_psci_call(ARMCPU *cpu)
-{
-    g_assert_not_reached();
-}
 #else
 /* Return true if the r0/x0 value indicates that this SMC/HVC is a PSCI call. */
 bool arm_is_psci_call(ARMCPU *cpu, int excp_type);
+#endif
 /* Actually handle a PSCI call */
 void arm_handle_psci_call(ARMCPU *cpu);
-#endif
 
 /**
  * arm_clear_exclusive: clear the exclusive monitor