diff mbox

[qom,v4,7/7] cpus: Change exec_init() arg to cpu, not env

Message ID 55955EE4.6090404@suse.de
State New
Headers show

Commit Message

Andreas Färber July 2, 2015, 3:55 p.m. UTC
Am 24.06.2015 um 04:31 schrieb Peter Crosthwaite:
> diff --git a/include/exec/exec-all.h b/include/exec/exec-all.h
> index cffd21e..4bf13e0 100644
> --- a/include/exec/exec-all.h
> +++ b/include/exec/exec-all.h
> @@ -88,7 +88,7 @@ void QEMU_NORETURN cpu_io_recompile(CPUState *cpu, uintptr_t retaddr);
>  TranslationBlock *tb_gen_code(CPUState *cpu,
>                                target_ulong pc, target_ulong cs_base, int flags,
>                                int cflags);
> -void cpu_exec_init(CPUArchState *env, Error **errp);
> +void cpu_exec_init(CPUState *env, Error **errp);
>  void QEMU_NORETURN cpu_loop_exit(CPUState *cpu);
>  
>  #if !defined(CONFIG_USER_ONLY)

Nit: Fixing s/env/cpu/


 #if !defined(CONFIG_USER_ONLY)

Regards,
Andreas
diff mbox

Patch

diff --git a/include/exec/exec-all.h b/include/exec/exec-all.h
index 4bf13e0..a9c1f88 100644
--- a/include/exec/exec-all.h
+++ b/include/exec/exec-all.h
@@ -88,7 +88,7 @@  void QEMU_NORETURN cpu_io_recompile(CPUState *cpu,
uintptr_t retaddr);
 TranslationBlock *tb_gen_code(CPUState *cpu,
                               target_ulong pc, target_ulong cs_base,
int flags,
                               int cflags);
-void cpu_exec_init(CPUState *env, Error **errp);
+void cpu_exec_init(CPUState *cpu, Error **errp);
 void QEMU_NORETURN cpu_loop_exit(CPUState *cpu);