[PATCH] arm64: kexec: include reboot.h

Will Deacon will at kernel.org
Thu Apr 20 10:04:53 PDT 2023


On Tue, 18 Apr 2023 13:54:00 +0200, Simon Horman wrote:
> 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)
> 
> [...]

Applied to arm64 (for-next/misc), thanks!

[1/1] arm64: kexec: include reboot.h
      https://git.kernel.org/arm64/c/b7b4ce84c830

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev



More information about the linux-arm-kernel mailing list