kexec: move machine_kexec_post_load() to public interface
authorPavel Tatashin <pasha.tatashin@soleen.com>
Fri, 19 Feb 2021 19:51:42 +0000 (14:51 -0500)
committerWill Deacon <will@kernel.org>
Mon, 22 Feb 2021 12:33:26 +0000 (12:33 +0000)
commit2596b6ae412be3d29632efc63976a2132032e620
tree195a0d93f435c6dc01157b808893568453421f6d
parentf5c6d0fcf90ce07ee0d686d465b19b247ebd5ed7
kexec: move machine_kexec_post_load() to public interface

The kernel test robot reports the following compiler warning:

  | arch/arm64/kernel/machine_kexec.c:62:5: warning: no previous prototype for
  | function 'machine_kexec_post_load' [-Wmissing-prototypes]
  |    int machine_kexec_post_load(struct kimage *kimage)

Fix it by moving the declaration of machine_kexec_post_load() from
kexec_internal.h to the public header instead.

Reported-by: kernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/linux-arm-kernel/202102030727.gqTokACH-lkp@intel.com
Signed-off-by: Pavel Tatashin <pasha.tatashin@soleen.com>
Link: https://lore.kernel.org/r/20210219195142.13571-1-pasha.tatashin@soleen.com
Fixes: 4c3c31230c91 ("arm64: kexec: move relocation function setup")
Signed-off-by: Will Deacon <will@kernel.org>
include/linux/kexec.h
kernel/kexec_internal.h