aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2024-10-10 16:27:34 -0300
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-10-15 12:16:28 -0300
commita6f8e0ae5a5223d421c986165310ef0bd252c3e0 (patch)
tree919501253ae77568a09a3c38a858927b258c1fb3
parent89b59d8699324d33dcd038622120aef12d0b1e0d (diff)
downloadqemu-a6f8e0ae5a5223d421c986165310ef0bd252c3e0.zip
qemu-a6f8e0ae5a5223d421c986165310ef0bd252c3e0.tar.gz
qemu-a6f8e0ae5a5223d421c986165310ef0bd252c3e0.tar.bz2
target/mips: Rename unused sysemu argument of OP_LD_ATOMIC()
In commit 6d0cad12594 ("target/mips: Finish conversion to tcg_gen_qemu_{ld,st}_*") we renamed the argument of the user definition. Rename the system part for coherency. Since the argument is ignored, prefix with 'ignored_'. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20241010215015.44326-9-philmd@linaro.org>
-rw-r--r--target/mips/tcg/translate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/mips/tcg/translate.c b/target/mips/tcg/translate.c
index 6f047d6..6ba8371 100644
--- a/target/mips/tcg/translate.c
+++ b/target/mips/tcg/translate.c
@@ -1957,7 +1957,7 @@ static inline void op_ld_##insn(TCGv ret, TCGv arg1, int mem_idx, \
tcg_gen_st_tl(ret, tcg_env, offsetof(CPUMIPSState, llval)); \
}
#else
-#define OP_LD_ATOMIC(insn, fname) \
+#define OP_LD_ATOMIC(insn, ignored_memop) \
static inline void op_ld_##insn(TCGv ret, TCGv arg1, int mem_idx, \
DisasContext *ctx) \
{ \