Received: from eggs.gnu.org ([208.118.235.92]:45768) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UfvRV-00066E-86 for qemu-devel@nongnu.org; Fri, 24 May 2013 13:06:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UfvRQ-0001xA-Ax for qemu-devel@nongnu.org; Fri, 24 May 2013 13:06:13 -0400 Received: from mail-ea0-x22c.google.com ([2a00:1450:4013:c01::22c]:60872) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UfvRQ-0001wz-13 for qemu-devel@nongnu.org; Fri, 24 May 2013 13:06:08 -0400 Received: by mail-ea0-f172.google.com with SMTP id d10so2821818eaj.31 for ; Fri, 24 May 2013 10:06:07 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Fri, 24 May 2013 19:05:37 +0200 Message-Id: <1369415157-8953-3-git-send-email-pbonzini@redhat.com> In-Reply-To: <1369415157-8953-1-git-send-email-pbonzini@redhat.com> References: <1369415157-8953-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH 02/22] exec: drop useless #if List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org This code is only compiled for softmmu targets. Signed-off-by: Paolo Bonzini --- exec.c | 2 -- 1 file changed, 2 deletions(-) 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: -- 1.8.1.4