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 <burzalodowa@gmail.com>
Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com>
#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>