diff options
author | Philipp Rudo <prudo@linux.vnet.ibm.com> | 2017-09-11 16:15:29 +0300 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2018-04-16 10:10:23 +0300 |
commit | 8be018827154666d1fe5904cb7a43b6706e01c87 (patch) | |
tree | 3fc01c556ba536ef0da3072abc3c3c0db94dda4e /arch/s390/kernel/machine_kexec_file.c | |
parent | ee337f5469fd67f22d231e520ec4189ce0589d92 (diff) | |
download | linux-8be018827154666d1fe5904cb7a43b6706e01c87.tar.xz |
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.c | 1 |
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, }; |