[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 09/41] target/riscv/pmu: Restrict 'qemu/log.h' include to source
From: |
Philippe Mathieu-Daudé |
Subject: |
[PULL 09/41] target/riscv/pmu: Restrict 'qemu/log.h' include to source |
Date: |
Thu, 31 Aug 2023 14:56:11 +0200 |
Declarations from "riscv/pmu.h" don't need anything from "qemu/log.h",
reduce it's inclusion to the source.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230828221314.18435-3-philmd@linaro.org>
---
target/riscv/pmu.h | 1 -
target/riscv/pmu.c | 1 +
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/riscv/pmu.h b/target/riscv/pmu.h
index 0c819ca983..d2be06a133 100644
--- a/target/riscv/pmu.h
+++ b/target/riscv/pmu.h
@@ -16,7 +16,6 @@
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "qemu/log.h"
#include "cpu.h"
#include "qemu/main-loop.h"
#include "exec/exec-all.h"
diff --git a/target/riscv/pmu.c b/target/riscv/pmu.c
index db06b3882f..36f6307d28 100644
--- a/target/riscv/pmu.c
+++ b/target/riscv/pmu.c
@@ -17,6 +17,7 @@
*/
#include "qemu/osdep.h"
+#include "qemu/log.h"
#include "cpu.h"
#include "pmu.h"
#include "sysemu/cpu-timers.h"
--
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 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 04/41] bulk: Do not declare function prototypes using 'extern' keyword, 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é, 2023/08/31
- [PULL 09/41] target/riscv/pmu: Restrict 'qemu/log.h' include to source,
Philippe Mathieu-Daudé <=
- [PULL 08/41] target/ppc/pmu: Include missing 'qemu/timer.h' header, 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 16/41] target/xtensa: Include missing 'qemu/atomic.h' header, 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 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é, 2023/08/31
- [PULL 14/41] target/helpers: Remove unnecessary 'qemu/main-loop.h' header, Philippe Mathieu-Daudé, 2023/08/31