mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
target/arm/ptw: replace TARGET_AARCH64 by CONFIG_ATOMIC64 from arm_casq_ptw
This function needs 64 bit compare exchange, so we hide implementation for hosts not supporting it (some 32 bit target, which don't run 64 bit guests anyway). Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Message-id: 20250512180502.2395029-31-pierrick.bouvier@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
03bc7858fd
commit
bdfbf92c34
1 changed files with 1 additions and 1 deletions
|
@ -737,7 +737,7 @@ static uint64_t arm_casq_ptw(CPUARMState *env, uint64_t old_val,
|
|||
uint64_t new_val, S1Translate *ptw,
|
||||
ARMMMUFaultInfo *fi)
|
||||
{
|
||||
#if defined(TARGET_AARCH64) && defined(CONFIG_TCG)
|
||||
#if defined(CONFIG_ATOMIC64) && defined(CONFIG_TCG)
|
||||
uint64_t cur_val;
|
||||
void *host = ptw->out_host;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue