]> git.proxmox.com Git - mirror_qemu.git/blobdiff - cputlb.c
cputlb: Change tlb_unprotect_code_phys() argument to CPUState
[mirror_qemu.git] / cputlb.c
index 6b2cdb201ae05baad9300efcd9f23ad89c8d1d89..343ede2bbb603b8a5ecb328ef7f590e8dc166f02 100644 (file)
--- a/cputlb.c
+++ b/cputlb.c
@@ -119,7 +119,7 @@ void tlb_protect_code(ram_addr_t ram_addr)
 
 /* update the TLB so that writes in physical page 'phys_addr' are no longer
    tested for self modifying code */
-void tlb_unprotect_code_phys(CPUArchState *env, ram_addr_t ram_addr,
+void tlb_unprotect_code_phys(CPUState *cpu, ram_addr_t ram_addr,
                              target_ulong vaddr)
 {
     cpu_physical_memory_set_dirty_flag(ram_addr, DIRTY_MEMORY_CODE);