translate-all: Change cpu_restore_state() argument to CPUState This lets us drop some local variables in tlb_fill() functions. Signed-off-by: Andreas Färber <afaerber@suse.de>
diff --git a/include/exec/exec-all.h b/include/exec/exec-all.h index 80277ea..cf5cd71 100644 --- a/include/exec/exec-all.h +++ b/include/exec/exec-all.h
@@ -80,7 +80,7 @@ void cpu_gen_init(void); int cpu_gen_code(CPUArchState *env, struct TranslationBlock *tb, int *gen_code_size_ptr); -bool cpu_restore_state(CPUArchState *env, uintptr_t searched_pc); +bool cpu_restore_state(CPUState *cpu, uintptr_t searched_pc); void page_size_init(void); void QEMU_NORETURN cpu_resume_from_signal(CPUArchState *env1, void *puc);