From: Philippe Mathieu-Daudé Date: Wed, 8 Oct 2025 06:14:50 +0000 (+0200) Subject: target/loongarch: Remove target_ulong use in gen_goto_tb() X-Git-Tag: v10.2.0-rc1~61^2~62 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=656940971f253412a565da9f21cf6f05a284c3d1;p=thirdparty%2Fqemu.git target/loongarch: Remove target_ulong use in gen_goto_tb() translator_use_goto_tb() expects a vaddr type since commit b1c09220b4c ("accel/tcg: Replace target_ulong with vaddr in translator*()"). Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Reviewed-by: Song Gao Message-Id: <20251009201947.34643-3-philmd@linaro.org> --- diff --git a/target/loongarch/tcg/translate.c b/target/loongarch/tcg/translate.c index 57c3b8c4bb..055f6fb604 100644 --- a/target/loongarch/tcg/translate.c +++ b/target/loongarch/tcg/translate.c @@ -99,8 +99,7 @@ void generate_exception(DisasContext *ctx, int excp) ctx->base.is_jmp = DISAS_NORETURN; } -static void gen_goto_tb(DisasContext *ctx, unsigned tb_slot_idx, - target_ulong dest) +static void gen_goto_tb(DisasContext *ctx, unsigned tb_slot_idx, vaddr dest) { if (ctx->va32) { dest = (uint32_t) dest;