[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 01/20] hw/arm/exynos4210: Include missing 'exec/tswap.h' header
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 01/20] hw/arm/exynos4210: Include missing 'exec/tswap.h' header |
Date: |
Thu, 18 Jan 2024 21:06:22 +0100 |
hw/arm/exynos4210.c calls tswap32() which is declared
in "exec/tswap.h". Include it in order to avoid when
refactoring unrelated headers:
hw/arm/exynos4210.c:499:22: error: call to undeclared function 'tswap32';
ISO C99 and later do not support implicit function declarations
[-Wimplicit-function-declaration]
smpboot[n] = tswap32(smpboot[n]);
^
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
hw/arm/exynos4210.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/arm/exynos4210.c b/hw/arm/exynos4210.c
index de39fb0ece..af511a153d 100644
--- a/hw/arm/exynos4210.c
+++ b/hw/arm/exynos4210.c
@@ -23,6 +23,7 @@
#include "qemu/osdep.h"
#include "qapi/error.h"
+#include "exec/tswap.h"
#include "cpu.h"
#include "hw/cpu/a9mpcore.h"
#include "hw/irq.h"
--
2.41.0
- [PATCH 00/20] arm: Rework target/ headers to build various hw/ files once, Philippe Mathieu-Daudé, 2024/01/18
- [PATCH 01/20] hw/arm/exynos4210: Include missing 'exec/tswap.h' header,
Philippe Mathieu-Daudé <=
- [PATCH 02/20] hw/arm/xilinx_zynq: Include missing 'exec/tswap.h' header, Philippe Mathieu-Daudé, 2024/01/18
- [PATCH 03/20] hw/arm/smmuv3: Include missing 'hw/registerfields.h' header, Philippe Mathieu-Daudé, 2024/01/18
- [PATCH 04/20] hw/arm/xlnx-versal: Include missing 'cpu.h' header, Philippe Mathieu-Daudé, 2024/01/18
- [PATCH 05/20] target/arm/cpu-features: Include missing 'hw/registerfields.h' header, Philippe Mathieu-Daudé, 2024/01/18
- [PATCH 06/20] target/arm/cpregs: Include missing 'hw/registerfields.h' header, Philippe Mathieu-Daudé, 2024/01/18
- [PATCH 07/20] target/arm/cpregs: Include missing 'kvm-consts.h' header, Philippe Mathieu-Daudé, 2024/01/18
- [PATCH 08/20] target/arm: Rename arm_cpu_mp_affinity, Philippe Mathieu-Daudé, 2024/01/18
- [PATCH 09/20] target/arm: Create arm_cpu_mp_affinity, Philippe Mathieu-Daudé, 2024/01/18
- [PATCH 10/20] target/arm: Expose arm_cpu_mp_affinity() in 'multiprocessing.h' header, Philippe Mathieu-Daudé, 2024/01/18
- [PATCH 11/20] target/arm: Declare ARM_CPU_TYPE_NAME/SUFFIX in 'cpu-qom.h', Philippe Mathieu-Daudé, 2024/01/18