From a1390db4df32ad95bf7854944180d2343f7f6368 Mon Sep 17 00:00:00 2001 From: Juan Quintela Date: Tue, 8 Oct 2013 11:53:46 +0200 Subject: memory: create function to set a single dirty bit Signed-off-by: Juan Quintela Reviewed-by: Orit Wasserman Reviewed-by: Eric Blake --- cputlb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cputlb.c') diff --git a/cputlb.c b/cputlb.c index 9270055..c545e4c 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) -- cgit v1.1