]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
kexec_file: Factor out kexec_locate_mem_hole from kexec_add_buffer.
authorThiago Jung Bauermann <bauerman@linux.vnet.ibm.com>
Tue, 29 Nov 2016 12:45:49 +0000 (23:45 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 30 Nov 2016 12:15:01 +0000 (23:15 +1100)
commite2e806f9e437b46a3fc8f3174a225c73f2e38c3d
tree895ce60e8afc3e216e3728599050779ac851cf6f
parentec2b9bfaac44ea889625a6b9473d33898b10d35f
kexec_file: Factor out kexec_locate_mem_hole from kexec_add_buffer.

kexec_locate_mem_hole will be used by the PowerPC kexec_file_load
implementation to find free memory for the purgatory stack.

Signed-off-by: Thiago Jung Bauermann <bauerman@linux.vnet.ibm.com>
Acked-by: Dave Young <dyoung@redhat.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
include/linux/kexec.h
kernel/kexec_file.c