]> git.proxmox.com Git - mirror_qemu.git/blobdiff - exec.c
exec: Fix CPU rework fallout
[mirror_qemu.git] / exec.c
diff --git a/exec.c b/exec.c
index 6a0bc94a0aaa85737019bb96c166bf30525d2608..91513c6c43d47a84157a46ad33042e60911bacaf 100644 (file)
--- a/exec.c
+++ b/exec.c
@@ -420,7 +420,7 @@ static int cpu_common_post_load(void *opaque, int version_id)
     /* 0x01 was CPU_INTERRUPT_EXIT. This line can be removed when the
        version_id is increased. */
     cpu->interrupt_request &= ~0x01;
-    tlb_flush(cpu->env_ptr, 1);
+    tlb_flush(cpu, 1);
 
     return 0;
 }