summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2022-12-17 00:17:14 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2023-08-31 19:47:43 +0200
commit05e94d80c9773b18811d3d459e4259f27cc7b4e2 (patch)
treef3c091b757471715b3b4005b013ce3637ea437d4
parent56c39a41adadfc567e1ac22089670bfde6b35365 (diff)
downloadfocaccia-qemu-05e94d80c9773b18811d3d459e4259f27cc7b4e2.tar.gz
focaccia-qemu-05e94d80c9773b18811d3d459e4259f27cc7b4e2.zip
exec/address-spaces.h: Remove unuseful 'exec/memory.h' include
"exec/address-spaces.h" declares get_system_io() and
get_system_memory(), both returning a MemoryRegion pointer.
MemoryRegion is forward declared in "qemu/typedefs.h", so
we don't need any declaration from "exec/memory.h" here.
Remove it.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230619074153.44268-4-philmd@linaro.org>
-rw-r--r--include/exec/address-spaces.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/exec/address-spaces.h b/include/exec/address-spaces.h
index db8bfa9a92..0d0aa61d68 100644
--- a/include/exec/address-spaces.h
+++ b/include/exec/address-spaces.h
@@ -19,8 +19,6 @@
  * you're one of them.
  */
 
-#include "exec/memory.h"
-
 #ifndef CONFIG_USER_ONLY
 
 /* Get the root memory region.  This interface should only be used temporarily