target/arm: Fix test of TCG_OVERSIZED_GUEST
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 28 Mar 2023 01:30:15 +0000 (18:30 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 5 Jun 2023 19:04:28 +0000 (12:04 -0700)
commitd3ae5f5d4faf535aa50243241e48dddb488cfa9c
tree751c400e41136da7628f0f75df52d8d3bcf3575b
parentd46259c037e51fb6516199305fe8f0994df3d46e
target/arm: Fix test of TCG_OVERSIZED_GUEST

The symbol is always defined, even if to 0.  We wanted to test for
TCG_OVERSIZED_GUEST == 0.

This fixed, the #error is reached while building arm-softmmu, because
TCG_OVERSIZED_GUEST is not true (nor supposed to be true) for arm32
guest on a 32-bit host.  But that's ok, because this feature doesn't
apply to arm32.  Add an #ifdef for TARGET_AARCH64.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/arm/ptw.c