]> git.proxmox.com Git - mirror_qemu.git/blobdiff - target-openrisc/mmu.c
cputlb: Change tlb_set_page() argument to CPUState
[mirror_qemu.git] / target-openrisc / mmu.c
index 4222219acd894e98ead18893dba58ac9bbc77ca7..750a93636b683a161fcf4dcf29ccbe3a112a7aab 100644 (file)
@@ -187,7 +187,7 @@ int openrisc_cpu_handle_mmu_fault(CPUState *cs,
                                      address, rw);
 
     if (ret == TLBRET_MATCH) {
-        tlb_set_page(&cpu->env, address & TARGET_PAGE_MASK,
+        tlb_set_page(cs, address & TARGET_PAGE_MASK,
                      physical & TARGET_PAGE_MASK, prot,
                      mmu_idx, TARGET_PAGE_SIZE);
         ret = 0;