]> asedeno.scripts.mit.edu Git - linux.git/commit
s390/kexec_file: Unify loader code
authorPhilipp Rudo <prudo@linux.ibm.com>
Thu, 7 Mar 2019 11:48:03 +0000 (12:48 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 29 Apr 2019 08:43:59 +0000 (10:43 +0200)
commit8e4964261374aaec9f4a83de076ceb11c8cdc044
tree8df575c5d36b1ecf3188151787bfddd080738f56
parentd0d249d75dda1b101624316a52d117be07b8ccff
s390/kexec_file: Unify loader code

s390_image_load and s390_elf_load have the same code to load the different
components. Combine this functionality in one shared function.

While at it move kexec_file_update_kernel into the new function as well.

Signed-off-by: Philipp Rudo <prudo@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/kexec.h
arch/s390/kernel/kexec_elf.c
arch/s390/kernel/kexec_image.c
arch/s390/kernel/machine_kexec_file.c