Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
philmd committed Aug 31, 2023
1 parent 56c39a4 commit 05e94d8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions include/exec/address-spaces.h
Expand Up @@ -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
Expand Down

0 comments on commit 05e94d8

Please sign in to comment.