From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:40806) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sld3p-0007cz-Kk for qemu-devel@nongnu.org; Mon, 02 Jul 2012 05:36:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sld3n-0005Mi-UP for qemu-devel@nongnu.org; Mon, 02 Jul 2012 05:36:49 -0400 Received: from e06smtp15.uk.ibm.com ([195.75.94.111]:56093) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sld3n-0005LU-MN for qemu-devel@nongnu.org; Mon, 02 Jul 2012 05:36:47 -0400 Received: from /spool/local by e06smtp15.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 2 Jul 2012 10:36:43 +0100 Received: from d06av03.portsmouth.uk.ibm.com (d06av03.portsmouth.uk.ibm.com [9.149.37.213]) by d06nrmr1707.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q629aeNd1884282 for ; Mon, 2 Jul 2012 10:36:41 +0100 Received: from d06av03.portsmouth.uk.ibm.com (localhost.localdomain [127.0.0.1]) by d06av03.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q629aeuw007396 for ; Mon, 2 Jul 2012 03:36:40 -0600 From: Stefan Hajnoczi Date: Mon, 2 Jul 2012 10:36:35 +0100 Message-Id: <1341221796-14673-3-git-send-email-stefanha@linux.vnet.ibm.com> In-Reply-To: <1341221796-14673-1-git-send-email-stefanha@linux.vnet.ibm.com> References: <1341221796-14673-1-git-send-email-stefanha@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PATCH 2/3] cpu-common.h: Remove a pointless ifndef CONFIG_USER_ONLY List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Peter Maydell , qemu-devel@nongnu.org, Stefan Hajnoczi From: Peter Maydell Remove an ifndef CONFIG_USER_ONLY guard that was pointless because it is already inside an if !defined(CONFIG_USER_ONLY). Signed-off-by: Peter Maydell Acked-by: Andreas Färber Signed-off-by: Stefan Hajnoczi --- cpu-common.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/cpu-common.h b/cpu-common.h index 321037f..85548de 100644 --- a/cpu-common.h +++ b/cpu-common.h @@ -69,9 +69,7 @@ void cpu_physical_memory_unmap(void *buffer, target_phys_addr_t len, void *cpu_register_map_client(void *opaque, void (*callback)(void *opaque)); void cpu_unregister_map_client(void *cookie); -#ifndef CONFIG_USER_ONLY bool cpu_physical_memory_is_io(target_phys_addr_t phys_addr); -#endif /* Coalesced MMIO regions are areas where write operations can be reordered. * This usually implies that write operations are side-effect free. This allows -- 1.7.10