Hi Xenia,

> On 22 Jun 2022, at 16:15, Xenia Ragiadakou <burzalod...@gmail.com> wrote:
> 
> Include header <xen/shutdown.h> so that the declarations of the functions
> machine_halt() and machine_restart(), which have external linkage, are visible
> before the function definitions.
> 
> Signed-off-by: Xenia Ragiadakou <burzalod...@gmail.com>
Reviewed-by: Bertrand Marquis <bertrand.marq...@arm.com>

Cheers
Bertrand

> ---
> xen/arch/arm/shutdown.c | 1 +
> 1 file changed, 1 insertion(+)
> 
> diff --git a/xen/arch/arm/shutdown.c b/xen/arch/arm/shutdown.c
> index 3dc6819d56..5550f50f61 100644
> --- a/xen/arch/arm/shutdown.c
> +++ b/xen/arch/arm/shutdown.c
> @@ -2,6 +2,7 @@
> #include <xen/cpu.h>
> #include <xen/delay.h>
> #include <xen/lib.h>
> +#include <xen/shutdown.h>
> #include <xen/smp.h>
> #include <asm/platform.h>
> #include <asm/psci.h>
> -- 
> 2.34.1
> 


Reply via email to