]> git.proxmox.com Git - mirror_qemu.git/blobdiff - bsd-user/x86_64/target_arch_cpu.h
bsd-user: Rename arg name for target_cpu_reset to env
[mirror_qemu.git] / bsd-user / x86_64 / target_arch_cpu.h
index 14def48adb58a66bf9e0336a93d8bf141a26395e..0a9c0f08946df9959b140541ea653e866a09e3ad 100644 (file)
@@ -238,9 +238,9 @@ static inline void target_cpu_clone_regs(CPUX86State *env, target_ulong newsp)
     env->regs[R_EAX] = 0;
 }
 
-static inline void target_cpu_reset(CPUArchState *cpu)
+static inline void target_cpu_reset(CPUArchState *env)
 {
-    cpu_reset(env_cpu(cpu));
+    cpu_reset(env_cpu(env));
 }
 
 #endif /* ! _TARGET_ARCH_CPU_H_ */