diff options
author | Hari Bathini <hbathini@linux.ibm.com> | 2020-07-29 17:09:19 +0530 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-07-29 23:47:53 +1000 |
commit | f891f19736bdf404845f97d8038054be37160ea8 (patch) | |
tree | 7a715576cdcefd936729461820405ac0295965f2 /arch/powerpc/kexec/Makefile | |
parent | fdaa7ce2016ccd09a538b05bace5f4479662ddcb (diff) | |
download | linux-f891f19736bdf404845f97d8038054be37160ea8.tar.bz2 |
kexec_file: Allow archs to handle special regions while locating memory hole
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.
Signed-off-by: Hari Bathini <hbathini@linux.ibm.com>
Tested-by: Pingfan Liu <piliu@redhat.com>
Reviewed-by: Thiago Jung Bauermann <bauerman@linux.ibm.com>
Acked-by: Dave Young <dyoung@redhat.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/159602273603.575379.17665852963340380839.stgit@hbathini
Diffstat (limited to 'arch/powerpc/kexec/Makefile')
0 files changed, 0 insertions, 0 deletions