kexec_file: Allow arch-specific memory walking for kexec_add_buffer
authorThiago Jung Bauermann <bauerman@linux.vnet.ibm.com>
Tue, 29 Nov 2016 12:45:47 +0000 (23:45 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 30 Nov 2016 12:14:57 +0000 (23:14 +1100)
commit60fe3910bb029e3671ce7ac080a7acb7e032b9e0
tree89bd58b4985af7713e59f34933c11a450b1677fa
parent0ab5171b8971282d7562b77f9b14137a827117fc
kexec_file: Allow arch-specific memory walking for kexec_add_buffer

Allow architectures to specify a different memory walking function for
kexec_add_buffer. x86 uses iomem to track reserved memory ranges, but
PowerPC uses the memblock subsystem.

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