Commit cf977b1a authored by AKASHI Takahiro's avatar AKASHI Takahiro Committed by Simon Horman
Browse files

kexec: add variant helper functions for handling memory regions



mem_regions_alloc_and_add() and mem_regions_alloc_and_exclude() are
functionally equivalent to, respectively, mem_regions_add() and
mem_regions_exclude() except the formers will re-allocate memory
dynamically when no more entries are available in 'ranges' array.

Signed-off-by: default avatarAKASHI Takahiro <takahiro.akashi@linaro.org>
Tested-by: default avatarBhupesh Sharma <bhsharma@redhat.com>
Tested-by: default avatarMasayoshi Mizuma <m.mizuma@jp.fujitsu.com>
Signed-off-by: default avatarSimon Horman <horms@verge.net.au>
parent bd077966
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment