From baea4fae7b6d75ce0d1aeb2be0a223c7be8f4161 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Tue, 3 Sep 2013 10:51:26 +0200 Subject: cputlb: Change tlb_unprotect_code_phys() argument to CPUState MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Note that the argument is unused. Signed-off-by: Andreas Färber --- cputlb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cputlb.c') diff --git a/cputlb.c b/cputlb.c index 6b2cdb2..343ede2 100644 --- a/cputlb.c +++ b/cputlb.c @@ -119,7 +119,7 @@ void tlb_protect_code(ram_addr_t ram_addr) /* update the TLB so that writes in physical page 'phys_addr' are no longer tested for self modifying code */ -void tlb_unprotect_code_phys(CPUArchState *env, ram_addr_t ram_addr, +void tlb_unprotect_code_phys(CPUState *cpu, ram_addr_t ram_addr, target_ulong vaddr) { cpu_physical_memory_set_dirty_flag(ram_addr, DIRTY_MEMORY_CODE); -- cgit v1.1