[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 07/41] exec/address-spaces.h: Remove unuseful 'exec/memory.h' incl
From: |
Philippe Mathieu-Daudé |
Subject: |
[PULL 07/41] exec/address-spaces.h: Remove unuseful 'exec/memory.h' include |
Date: |
Thu, 31 Aug 2023 14:56:09 +0200 |
"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>
---
include/exec/address-spaces.h | 2 --
1 file changed, 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
--
2.41.0
- [PULL 00/41] Misc patches for 2023-08-31, Philippe Mathieu-Daudé, 2023/08/31
- [PULL 01/41] accel: Remove HAX accelerator, Philippe Mathieu-Daudé, 2023/08/31
- [PULL 02/41] accel/tcg: spelling fixes, Philippe Mathieu-Daudé, 2023/08/31
- [PULL 04/41] bulk: Do not declare function prototypes using 'extern' keyword, Philippe Mathieu-Daudé, 2023/08/31
- [PULL 03/41] qemu/uri: Use QueryParams type definition, Philippe Mathieu-Daudé, 2023/08/31
- [PULL 05/41] hw/net/i82596: Include missing 'exec/address-spaces.h' header, Philippe Mathieu-Daudé, 2023/08/31
- [PULL 06/41] hw/dma/etraxfs: Include missing 'exec/memory.h' header, Philippe Mathieu-Daudé, 2023/08/31
- [PULL 07/41] exec/address-spaces.h: Remove unuseful 'exec/memory.h' include,
Philippe Mathieu-Daudé <=
- [PULL 08/41] target/ppc/pmu: Include missing 'qemu/timer.h' header, Philippe Mathieu-Daudé, 2023/08/31
- [PULL 09/41] target/riscv/pmu: Restrict 'qemu/log.h' include to source, Philippe Mathieu-Daudé, 2023/08/31
- [PULL 10/41] target/translate: Include missing 'exec/cpu_ldst.h' header, Philippe Mathieu-Daudé, 2023/08/31
- [PULL 12/41] target/translate: Restrict 'exec/cpu_ldst.h' to user emulation, Philippe Mathieu-Daudé, 2023/08/31
- [PULL 11/41] target/translate: Remove unnecessary 'exec/cpu_ldst.h' header, Philippe Mathieu-Daudé, 2023/08/31
- [PULL 15/41] target/mips: Remove unused headers in lcsr_helper.c, Philippe Mathieu-Daudé, 2023/08/31
- [PULL 14/41] target/helpers: Remove unnecessary 'qemu/main-loop.h' header, Philippe Mathieu-Daudé, 2023/08/31
- [PULL 16/41] target/xtensa: Include missing 'qemu/atomic.h' header, Philippe Mathieu-Daudé, 2023/08/31
- [PULL 17/41] qemu/processor: Remove unused 'qemu/atomic.h' header, Philippe Mathieu-Daudé, 2023/08/31
- [PULL 20/41] hw/char: Have FEWatchFunc handlers return G_SOURCE_CONTINUE/REMOVE, Philippe Mathieu-Daudé, 2023/08/31