Hari Bathini <hbath...@linux.ibm.com> writes:
> Some architectures may have special memory regions, within the given > memory range, which can't be used for the buffer in a kexec segment. > Implement weak arch_kexec_locate_mem_hole() definition which arch code > may override, to take care of special regions, while trying to locate > a memory hole. > > Also, add the missing declarations for arch overridable functions and > and drop the __weak descriptors in the declarations to avoid non-weak > definitions from becoming weak. > > Reported-by: kernel test robot <l...@intel.com> > [lkp: In v1, arch_kimage_file_post_load_cleanup() declaration was missing] > Signed-off-by: Hari Bathini <hbath...@linux.ibm.com> > Acked-by: Dave Young <dyo...@redhat.com> > Tested-by: Pingfan Liu <pi...@redhat.com> Reviewed-by: Thiago Jung Bauermann <bauer...@linux.ibm.com> -- Thiago Jung Bauermann IBM Linux Technology Center