]> git.baikalelectronics.ru Git - kernel.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)
commit0f68143507334a4d2d0aa101a56ad16880736dde
tree8df575c5d36b1ecf3188151787bfddd080738f56
parentd7d24ec441616b04faa0900adf628d7c1338d01c
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