From: Simon Horman Date: Tue, 18 Apr 2023 11:54:00 +0000 (+0200) Subject: arm64: kexec: include reboot.h X-Git-Tag: v6.4-rc1~166^2~4^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b7b4ce84c830ae3ce6429fbbd70a62a4ae1ac78d;p=thirdparty%2Fkernel%2Flinux.git arm64: kexec: include reboot.h Include reboot.h in machine_kexec.c for declaration of machine_crash_shutdown. gcc-12 with W=1 reports: arch/arm64/kernel/machine_kexec.c:257:6: warning: no previous prototype for 'machine_crash_shutdown' [-Wmissing-prototypes] 257 | void machine_crash_shutdown(struct pt_regs *regs) No functional changes intended. Compile tested only. Signed-off-by: Simon Horman Link: https://lore.kernel.org/r/20230418-arm64-kexec-include-reboot-v1-1-8453fd4fb3fb@kernel.org Signed-off-by: Will Deacon --- diff --git a/arch/arm64/kernel/machine_kexec.c b/arch/arm64/kernel/machine_kexec.c index d35cb0568f848..3604322b2b3b7 100644 --- a/arch/arm64/kernel/machine_kexec.c +++ b/arch/arm64/kernel/machine_kexec.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include