diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2015-04-22 14:20:35 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-06-05 17:09:59 +0200 |
commit | 358653391b0c0beaa0e3f9e28304e1918cd223b3 (patch) | |
tree | bc6a9f44616f66826f39e7aef85544aa337f5322 /exec.c | |
parent | 1652b974766401743879d78f796f44b8929b0787 (diff) | |
download | qemu-358653391b0c0beaa0e3f9e28304e1918cd223b3.tar.gz qemu-358653391b0c0beaa0e3f9e28304e1918cd223b3.tar.bz2 qemu-358653391b0c0beaa0e3f9e28304e1918cd223b3.zip |
translate-all: remove unnecessary argument to tb_invalidate_phys_range
The is_cpu_write_access argument is always 0, remove it.
Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'exec.c')
-rw-r--r-- | exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2256,7 +2256,7 @@ static void invalidate_and_set_dirty(MemoryRegion *mr, hwaddr addr, if (cpu_physical_memory_range_includes_clean(addr, length)) { uint8_t dirty_log_mask = memory_region_get_dirty_log_mask(mr); if (dirty_log_mask & (1 << DIRTY_MEMORY_CODE)) { - tb_invalidate_phys_range(addr, addr + length, 0); + tb_invalidate_phys_range(addr, addr + length); dirty_log_mask &= ~(1 << DIRTY_MEMORY_CODE); } if (dirty_log_mask) { |