From: Oleksii Kurochko Date: Mon, 5 May 2025 18:10:34 +0000 (+0200) Subject: arm/static-shmem.h: drop inclusion of asm/setup.h X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=f92533a9d5cadad6cb739fd4016730ef2161d89a;p=xen.git arm/static-shmem.h: drop inclusion of asm/setup.h Nothing is dependent from asm/setup.h in asm/static-shmem.h so inclusion of asm/setup.h is droped. After this drop the following compilation error related to impicit declaration of the following functions device_tree_get_reg and map_device_irqs_to_domain, device_tree_get_u32 occur during compilation of dom0less-build.c ( as they are declared in asm/setup.h ). Add inclusion of in dt-overlay.c as it is using handle_device() declared in . Signed-off-by: Oleksii Kurochko Reviewed-by: Stefano Stabellini --- diff --git a/xen/arch/arm/dom0less-build.c b/xen/arch/arm/dom0less-build.c index 22ac73ab8f..7ea639525d 100644 --- a/xen/arch/arm/dom0less-build.c +++ b/xen/arch/arm/dom0less-build.c @@ -20,6 +20,7 @@ #include #include #include +#include #include #include diff --git a/xen/arch/arm/include/asm/static-shmem.h b/xen/arch/arm/include/asm/static-shmem.h index a4f853805a..4034cec32f 100644 --- a/xen/arch/arm/include/asm/static-shmem.h +++ b/xen/arch/arm/include/asm/static-shmem.h @@ -5,7 +5,6 @@ #include #include -#include #ifdef CONFIG_STATIC_SHM diff --git a/xen/common/device-tree/dt-overlay.c b/xen/common/device-tree/dt-overlay.c index 81107cb48d..d184186c01 100644 --- a/xen/common/device-tree/dt-overlay.c +++ b/xen/common/device-tree/dt-overlay.c @@ -13,6 +13,8 @@ #include #include +#include + #define DT_OVERLAY_MAX_SIZE KB(500) static LIST_HEAD(overlay_tracker);