diff options
author | Hari Bathini <[email protected]> | 2020-07-29 17:09:19 +0530 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2020-07-29 23:47:53 +1000 |
commit | f891f19736bdf404845f97d8038054be37160ea8 (patch) | |
tree | 7a715576cdcefd936729461820405ac0295965f2 /arch/powerpc/include/asm/kexec.h | |
parent | fdaa7ce2016ccd09a538b05bace5f4479662ddcb (diff) |
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 <[email protected]>
Tested-by: Pingfan Liu <[email protected]>
Reviewed-by: Thiago Jung Bauermann <[email protected]>
Acked-by: Dave Young <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/159602273603.575379.17665852963340380839.stgit@hbathini
Diffstat (limited to 'arch/powerpc/include/asm/kexec.h')
0 files changed, 0 insertions, 0 deletions