[PATCH v2 06/11] kexec_file: Split up __kexec_load_puragory

2018-03-21 Thread Philipp Rudo
When inspecting __kexec_load_purgatory you find that it has two tasks 1) setting up the kexec_buffer for the new kernel and, 2) setting up pi->sechdrs for the final load address. The two tasks are independent of each other. To improve readability split up __kexec_load_purgatory

[PATCH v2 06/11] kexec_file: Split up __kexec_load_puragory

2018-03-21 Thread Philipp Rudo
When inspecting __kexec_load_purgatory you find that it has two tasks 1) setting up the kexec_buffer for the new kernel and, 2) setting up pi->sechdrs for the final load address. The two tasks are independent of each other. To improve readability split up __kexec_load_purgatory