accel/tcg: Remove ATOMIC_MMU_IDX
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 1 Apr 2022 13:47:32 +0000 (07:47 -0600)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 20 Apr 2022 19:12:47 +0000 (12:12 -0700)
The last use of this macro was removed in f3e182b10013
("accel/tcg: Push trace info building into atomic_common.c.inc")

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
accel/tcg/cputlb.c
accel/tcg/user-exec.c

index 2035b2ac0ac0b1ff606d21ee1dd43fb3cf73fe9c..dd45e0467bdb44b0e5bb4492f8c8e7b032f2ec99 100644 (file)
@@ -2552,7 +2552,6 @@ void cpu_stq_le_mmu(CPUArchState *env, target_ulong addr, uint64_t val,
     glue(glue(glue(cpu_atomic_ ## X, SUFFIX), END), _mmu)
 
 #define ATOMIC_MMU_CLEANUP
-#define ATOMIC_MMU_IDX   get_mmuidx(oi)
 
 #include "atomic_common.c.inc"
 
index 8edf0bbaa114bdca4f363941a0fc52ce9758d10c..ac57324d4f63eaa34d668aaa0516140e4466a4d5 100644 (file)
@@ -506,7 +506,6 @@ static void *atomic_mmu_lookup(CPUArchState *env, target_ulong addr,
 #define ATOMIC_NAME(X) \
     glue(glue(glue(cpu_atomic_ ## X, SUFFIX), END), _mmu)
 #define ATOMIC_MMU_CLEANUP do { clear_helper_retaddr(); } while (0)
-#define ATOMIC_MMU_IDX MMU_USER_IDX
 
 #define DATA_SIZE 1
 #include "atomic_template.h"