kexec: add KEXEC_ELF

Right now powerpc provides an implementation to read elf files
with the kexec_file_load() syscall. Make that available as a public
kexec interface so it can be re-used on other architectures.

Signed-off-by: Sven Schnelle <[email protected]>
Reviewed-by: Thiago Jung Bauermann <[email protected]>
Signed-off-by: Helge Deller <[email protected]>
This commit is contained in:
Sven Schnelle 2019-08-23 21:49:13 +02:00 • committed by Helge Deller
commit 175fca3bf9
6 changed files with 583 additions and 540 deletions

View file

@ -18,6 +18,9 @@ config KEXEC_CORE
select CRASH_CORE
bool
config KEXEC_ELF
bool
config HAVE_IMA_KEXEC
bool