From ae4e43e80f3e1e65d096ebbc643eed9d763e1441 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Fri, 24 May 2013 17:14:05 +0200 Subject: exec: drop useless #if This code is only compiled for softmmu targets. Reviewed-by: Richard Henderson Signed-off-by: Paolo Bonzini --- exec.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'exec.c') diff --git a/exec.c b/exec.c index b720be5..7728ea3 100644 --- a/exec.c +++ b/exec.c @@ -1430,10 +1430,8 @@ static void notdirty_mem_write(void *opaque, hwaddr ram_addr, int dirty_flags; dirty_flags = cpu_physical_memory_get_dirty_flags(ram_addr); if (!(dirty_flags & CODE_DIRTY_FLAG)) { -#if !defined(CONFIG_USER_ONLY) tb_invalidate_phys_page_fast(ram_addr, size); dirty_flags = cpu_physical_memory_get_dirty_flags(ram_addr); -#endif } switch (size) { case 1: -- cgit v1.1