diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2015-04-22 14:24:54 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-06-05 17:09:59 +0200 |
commit | 9564f52da7eb061326956ed9a468935e3352512d (patch) | |
tree | 9720cb664dc8fc151f6ee882758e02b854a246b1 /translate-all.c | |
parent | 358653391b0c0beaa0e3f9e28304e1918cd223b3 (diff) | |
download | qemu-9564f52da7eb061326956ed9a468935e3352512d.zip qemu-9564f52da7eb061326956ed9a468935e3352512d.tar.gz qemu-9564f52da7eb061326956ed9a468935e3352512d.tar.bz2 |
cputlb: remove useless arguments to tlb_unprotect_code_phys, rename
These days modification of the TLB is done in notdirty_mem_write,
so the virtual address and env pointer as unnecessary.
The new name of the function, tlb_unprotect_code, is consistent with
tlb_protect_code.
Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'translate-all.c')
-rw-r--r-- | translate-all.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/translate-all.c b/translate-all.c index d118c6c..0e2ad8a 100644 --- a/translate-all.c +++ b/translate-all.c @@ -1158,7 +1158,7 @@ void tb_invalidate_phys_page_range(tb_page_addr_t start, tb_page_addr_t end, if (!p->first_tb) { invalidate_page_bitmap(p); if (is_cpu_write_access) { - tlb_unprotect_code_phys(cpu, start, cpu->mem_io_vaddr); + tlb_unprotect_code(start); } } #endif |