qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH-for-9.1 21/27] target/s390x: Restrict TCG-specific declaratio


From: Thomas Huth
Subject: Re: [PATCH-for-9.1 21/27] target/s390x: Restrict TCG-specific declarations
Date: Wed, 20 Mar 2024 07:38:59 +0100
User-agent: Mozilla Thunderbird

On 19/03/2024 16.42, Philippe Mathieu-Daudé wrote:
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
  target/s390x/s390x-internal.h | 2 ++
  1 file changed, 2 insertions(+)

diff --git a/target/s390x/s390x-internal.h b/target/s390x/s390x-internal.h
index 825252d728..559c9f561d 100644
--- a/target/s390x/s390x-internal.h
+++ b/target/s390x/s390x-internal.h
@@ -398,10 +398,12 @@ void handle_diag_308(CPUS390XState *env, uint64_t r1, 
uint64_t r3,
/* translate.c */
+#ifdef CONFIG_TCG
  void s390x_translate_init(void);
  void s390x_restore_state_to_opc(CPUState *cs,
                                  const TranslationBlock *tb,
                                  const uint64_t *data);
+#endif /* CONFIG_TCG */
/* sigp.c */
  int handle_sigp(CPUS390XState *env, uint8_t order, uint64_t r1, uint64_t r3);

Reviewed-by: Thomas Huth <thuth@redhat.com>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]