From b77af26e973705e8fd96cff102fc978ee44043da Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Wed, 13 Sep 2023 17:22:49 -0700 Subject: accel/tcg: Replace CPUState.env_ptr with cpu_env() Reviewed-by: Anton Johansson Signed-off-by: Richard Henderson --- target/microblaze/translate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/microblaze') diff --git a/target/microblaze/translate.c b/target/microblaze/translate.c index bb178219f1..49bfb4a0ea 100644 --- a/target/microblaze/translate.c +++ b/target/microblaze/translate.c @@ -1630,7 +1630,7 @@ static void mb_tr_insn_start(DisasContextBase *dcb, CPUState *cs) static void mb_tr_translate_insn(DisasContextBase *dcb, CPUState *cs) { DisasContext *dc = container_of(dcb, DisasContext, base); - CPUMBState *env = cs->env_ptr; + CPUMBState *env = cpu_env(cs); uint32_t ir; /* TODO: This should raise an exception, not terminate qemu. */ -- cgit v1.2.3