aboutsummaryrefslogtreecommitdiff
path: root/cputlb.c
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2013-10-08 11:53:46 +0200
committerJuan Quintela <quintela@redhat.com>2014-01-13 14:04:53 +0100
commita1390db4df32ad95bf7854944180d2343f7f6368 (patch)
tree1629612a9ea08c5268e5a1c18cb86525bfe2148b /cputlb.c
parent06567942e5e92cc649b608205d5d31ff3ac21c58 (diff)
memory: create function to set a single dirty bit
Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Orit Wasserman <owasserm@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'cputlb.c')
-rw-r--r--cputlb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cputlb.c b/cputlb.c
index 9270055b83..c545e4c1cf 100644
--- a/cputlb.c
+++ b/cputlb.c
@@ -122,7 +122,7 @@ void tlb_protect_code(ram_addr_t ram_addr)
void tlb_unprotect_code_phys(CPUArchState *env, ram_addr_t ram_addr,
target_ulong vaddr)
{
- cpu_physical_memory_set_dirty_flags(ram_addr, CODE_DIRTY_FLAG);
+ cpu_physical_memory_set_dirty_flag(ram_addr, CODE_DIRTY_FLAG);
}
static bool tlb_is_dirty_ram(CPUTLBEntry *tlbe)