aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/machine_kexec_file.c
diff options
context:
space:
mode:
authorPhilipp Rudo <prudo@linux.vnet.ibm.com>2017-09-11 15:15:29 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2018-04-16 09:10:23 +0200
commit8be018827154666d1fe5904cb7a43b6706e01c87 (patch)
tree3fc01c556ba536ef0da3072abc3c3c0db94dda4e /arch/s390/kernel/machine_kexec_file.c
parents390/kexec_file: Add crash support to image loader (diff)
downloadlinux-dev-8be018827154666d1fe5904cb7a43b6706e01c87.tar.xz
linux-dev-8be018827154666d1fe5904cb7a43b6706e01c87.zip
s390/kexec_file: Add ELF loader
Add an ELF loader for kexec_file. The main task here is to do proper sanity checks on the ELF file. Basically all other functionality was already implemented for the image loader. Signed-off-by: Philipp Rudo <prudo@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/machine_kexec_file.c')
-rw-r--r--arch/s390/kernel/machine_kexec_file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/kernel/machine_kexec_file.c b/arch/s390/kernel/machine_kexec_file.c
index 75aea2c1d823..f413f57f8d20 100644
--- a/arch/s390/kernel/machine_kexec_file.c
+++ b/arch/s390/kernel/machine_kexec_file.c
@@ -12,6 +12,7 @@
#include <asm/setup.h>
const struct kexec_file_ops * const kexec_file_loaders[] = {
+ &s390_kexec_elf_ops,
&s390_kexec_image_ops,
NULL,
};