Skip to content

Commit

Permalink
memory: s/mask/clear/ cpu_physical_memory_mask_dirty_range
Browse files Browse the repository at this point in the history
Now all functions use the same wording that bitops/bitmap operations

Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
  • Loading branch information
Juan Quintela committed Jan 13, 2014
1 parent 94833c8 commit ace694c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion exec.c
Expand Up @@ -748,7 +748,7 @@ void cpu_physical_memory_reset_dirty(ram_addr_t start, ram_addr_t end,
length = end - start;
if (length == 0)
return;
cpu_physical_memory_mask_dirty_range(start, length, client);
cpu_physical_memory_clear_dirty_range(start, length, client);

if (tcg_enabled()) {
tlb_reset_dirty_range_all(start, end, length);
Expand Down
6 changes: 3 additions & 3 deletions include/exec/memory-internal.h
Expand Up @@ -100,9 +100,9 @@ static inline void cpu_physical_memory_set_dirty_range(ram_addr_t start,
xen_modified_memory(addr, length);
}

static inline void cpu_physical_memory_mask_dirty_range(ram_addr_t start,
ram_addr_t length,
unsigned client)
static inline void cpu_physical_memory_clear_dirty_range(ram_addr_t start,
ram_addr_t length,
unsigned client)
{
ram_addr_t addr, end;

Expand Down

0 comments on commit ace694c

Please sign in to comment.