xen/arm: shutdown: Fix MISRA C 2012 Rule 8.4 violation
authorXenia Ragiadakou <burzalodowa@gmail.com>
Wed, 22 Jun 2022 15:15:12 +0000 (18:15 +0300)
committerJulien Grall <jgrall@amazon.com>
Thu, 23 Jun 2022 18:46:26 +0000 (19:46 +0100)
commitf8af00d1a6abe46dca31c197d30cb5118d54cd54
tree61df48e6dabe63462d8475a5ffc05e01c2863aa5
parent7e1ed5e9341c2820c40d1a58aa35545d604311c3
xen/arm: shutdown: Fix MISRA C 2012 Rule 8.4 violation

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>
xen/arch/arm/shutdown.c