diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2013-05-24 17:14:05 +0200 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2013-05-29 16:26:34 +0200 |
| commit | ae4e43e80f3e1e65d096ebbc643eed9d763e1441 (patch) | |
| tree | 6d955d23ac19a5b4bbc3a380fe12c695d66a4dc9 | |
| parent | 2a8e7499093cd33a607ebd7c1cd591169aa68a3e (diff) | |
| download | focaccia-qemu-ae4e43e80f3e1e65d096ebbc643eed9d763e1441.tar.gz focaccia-qemu-ae4e43e80f3e1e65d096ebbc643eed9d763e1441.zip | |
exec: drop useless #if
This code is only compiled for softmmu targets. Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
| -rw-r--r-- | exec.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/exec.c b/exec.c index b720be510c..7728ea38cb 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: |