hw/arm/exynos4210: Get arm_boot_info declaration from 'hw/arm/boot.h'
PATCH 1/1 hw/arm/exynos4210: Get arm_boot_info declaration from 'hw/arm/boot.h'
struct arm_boot_info is declared in "hw/arm/boot.h". By including the correct header we don't need to declare it again in "target/arm/cpu-qom.h".
Signed-off-by Philippe Mathieu-Daudé <[email protected]>
--- include/hw/arm/exynos4210.h | 2 +- target/arm/cpu-qom.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-)
include/hw/arm/exynos4210.h +1 -1
@@ -30,7 +30,7 @@#include "hw/intc/exynos4210_gic.h" #include "hw/intc/exynos4210_combiner.h" #include "hw/core/split-irq.h" -#include "target/arm/cpu-qom.h" +#include "hw/arm/boot.h" #include "qom/object.h" #define EXYNOS4210_NCPUS 2
target/arm/cpu-qom.h +0 -2
@@ -23,8 +23,6 @@#include "hw/core/cpu.h" #include "qom/object.h" -struct arm_boot_info ; -#define TYPE_ARM_CPU "arm-cpu"OBJECT_DECLARE_CPU_TYPE (ARMCPU , ARMCPUClass,ARM_CPU )
Signature · 1 line
2.41.0
Quoted 9 lines · Philippe Mathieu-Daudé
struct
arm_boot_infois declared in "hw/arm/boot.h". By including the correct header we don't need to declare it again in "target/arm/cpu-qom.h".Signed-off-by Philippe Mathieu-Daudé <[email protected]>--- include/hw/arm/exynos4210.h | 2 +- target/arm/cpu-qom.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-)
Reviewed-by Richard Henderson <[email protected]>
r~
Peter Maydell
AppliedQuoted 6 lines · Philippe Mathieu-Daudé
struct
arm_boot_infois declared in "hw/arm/boot.h". By including the correct header we don't need to declare it again in "target/arm/cpu-qom.h".Signed-off-by Philippe Mathieu-Daudé <[email protected]>
Applied to target-arm.next, thanks.
-- PMM