[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 18/41] exec/translation-block: Clean up includes
From: |
Philippe Mathieu-Daudé |
Subject: |
[PULL 18/41] exec/translation-block: Clean up includes |
Date: |
Thu, 31 Aug 2023 14:56:20 +0200 |
'qemu/atomic.h' and 'exec/target_page.h' are not used.
'qemu/interval-tree.h' is only required for user emulation.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230828221314.18435-12-philmd@linaro.org>
---
include/exec/translation-block.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/exec/translation-block.h b/include/exec/translation-block.h
index 5119924927..b785751774 100644
--- a/include/exec/translation-block.h
+++ b/include/exec/translation-block.h
@@ -7,11 +7,11 @@
#ifndef EXEC_TRANSLATION_BLOCK_H
#define EXEC_TRANSLATION_BLOCK_H
-#include "qemu/atomic.h"
#include "qemu/thread.h"
-#include "qemu/interval-tree.h"
#include "exec/cpu-common.h"
-#include "exec/target_page.h"
+#ifdef CONFIG_USER_ONLY
+#include "qemu/interval-tree.h"
+#endif
/*
* Page tracking code uses ram addresses in system mode, and virtual
--
2.41.0
- [PULL 07/41] exec/address-spaces.h: Remove unuseful 'exec/memory.h' include, (continued)
- [PULL 07/41] exec/address-spaces.h: Remove unuseful 'exec/memory.h' include, Philippe Mathieu-Daudé, 2023/08/31
- [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 11/41] target/translate: Remove unnecessary '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 13/41] target/helpers: Remove unnecessary 'exec/cpu_ldst.h' header, 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 15/41] target/mips: Remove unused headers in lcsr_helper.c, Philippe Mathieu-Daudé, 2023/08/31
- [PULL 17/41] qemu/processor: Remove unused 'qemu/atomic.h' header, Philippe Mathieu-Daudé, 2023/08/31
- [PULL 18/41] exec/translation-block: Clean up includes,
Philippe Mathieu-Daudé <=
- [PULL 19/41] chardev/char-fe: Document FEWatchFunc typedef, Philippe Mathieu-Daudé, 2023/08/31
- [PULL 22/41] hw/char/pl011: Display register name in trace events, 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
- [PULL 16/41] target/xtensa: Include missing 'qemu/atomic.h' header, Philippe Mathieu-Daudé, 2023/08/31
- [PULL 21/41] hw/char/pl011: Restrict MemoryRegionOps implementation access sizes, Philippe Mathieu-Daudé, 2023/08/31
- [PULL 24/41] hw/char/pl011: Replace magic values by register field definitions, Philippe Mathieu-Daudé, 2023/08/31
- [PULL 23/41] hw/char/pl011: Remove duplicated PL011_INT_[RT]X definitions, Philippe Mathieu-Daudé, 2023/08/31
- [PULL 25/41] hw/i2c/pmbus_device: Fix modifying QOM class internals from instance, Philippe Mathieu-Daudé, 2023/08/31
- [PULL 26/41] hw/i2c: spelling fixes, Philippe Mathieu-Daudé, 2023/08/31
- [PULL 27/41] hw/ide: spelling fixes, Philippe Mathieu-Daudé, 2023/08/31