kexec: add KEXEC_ELF
authorSven Schnelle <svens@stackframe.org>
Fri, 23 Aug 2019 19:49:13 +0000 (21:49 +0200)
committerHelge Deller <deller@gmx.de>
Fri, 6 Sep 2019 21:58:43 +0000 (23:58 +0200)
commit175fca3bf91a1111b7e46f6655666640556b9059
tree7918a9326c405cc49f74cd8785749461c8c8a40c
parent544f448599134ffee9ef35d685f933bab708a215
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 <svens@stackframe.org>
Reviewed-by: Thiago Jung Bauermann <bauerman@linux.ibm.com>
Signed-off-by: Helge Deller <deller@gmx.de>
arch/Kconfig
arch/powerpc/Kconfig
arch/powerpc/kernel/kexec_elf_64.c
include/linux/kexec.h
kernel/Makefile
kernel/kexec_elf.c [new file with mode: 0644]