]> git.proxmox.com Git - qemu.git/blobdiff - hw/spapr_hcall.c
pseries: Fix use of global CPU state
[qemu.git] / hw / spapr_hcall.c
index 634763eefd86dd0347ce56382c90b71346bf0280..94bb504ca66c920d46c798da715cd72ab4308f6c 100644 (file)
@@ -482,7 +482,7 @@ static target_ulong register_dtl(CPUPPCState *env, target_ulong addr)
     return H_SUCCESS;
 }
 
-static target_ulong deregister_dtl(CPUPPCState *emv, target_ulong addr)
+static target_ulong deregister_dtl(CPUPPCState *env, target_ulong addr)
 {
     env->dispatch_trace_log = 0;
     env->dtl_size = 0;