]> git.proxmox.com Git - qemu.git/commitdiff
cpu-common.h: Remove a pointless ifndef CONFIG_USER_ONLY
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 22 Jun 2012 11:30:59 +0000 (12:30 +0100)
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Mon, 2 Jul 2012 09:10:07 +0000 (10:10 +0100)
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 <peter.maydell@linaro.org>
Acked-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
cpu-common.h

index 321037fbc0359607ef1d3175bf5f42b16d0f88fa..85548de5ea9d0f83ffb58ef4f5607c6742160c1b 100644 (file)
@@ -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