[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 3/5] target/arm: Only include tcg/oversized-guest.h if CONFIG_TCG
From: |
Richard Henderson |
Subject: |
[PULL 3/5] target/arm: Only include tcg/oversized-guest.h if CONFIG_TCG |
Date: |
Wed, 7 Jun 2023 08:40:52 -0700 |
Fixes the build for --disable-tcg.
This header is only needed for cross-hosting. Without CONFIG_TCG,
we know this is an AArch64 host, CONFIG_ATOMIC64 will be set, and
the TCG_OVERSIZED_GUEST block will never be compiled.
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
target/arm/ptw.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/target/arm/ptw.c b/target/arm/ptw.c
index b2dc223525..37bcb17a9e 100644
--- a/target/arm/ptw.c
+++ b/target/arm/ptw.c
@@ -14,8 +14,9 @@
#include "cpu.h"
#include "internals.h"
#include "idau.h"
-#include "tcg/oversized-guest.h"
-
+#ifdef CONFIG_TCG
+# include "tcg/oversized-guest.h"
+#endif
typedef struct S1Translate {
ARMMMUIdx in_mmu_idx;
--
2.34.1
- [PULL 0/5] misc ci fixes, Richard Henderson, 2023/06/07
- [PULL 1/5] tcg/tci: Adjust passing of MemOpIdx, Richard Henderson, 2023/06/07
- [PULL 2/5] tcg/tci: Adjust call-clobbered regs for int128_t, Richard Henderson, 2023/06/07
- [PULL 3/5] target/arm: Only include tcg/oversized-guest.h if CONFIG_TCG,
Richard Henderson <=
- [PULL 4/5] gitlab: Add cross-arm64-kvm-only, Richard Henderson, 2023/06/07
- [PULL 5/5] iotests: fix 194: filter out racy postcopy-active event, Richard Henderson, 2023/06/07
- Re: [PULL 0/5] misc ci fixes, Richard Henderson, 2023/06/07