summaryrefslogtreecommitdiff
path: root/kexec/add_buffer.c
diff options
context:
space:
mode:
authorWANG Chao <chaowang@redhat.com>2014-04-22 10:56:39 +0800
committerSimon Horman <horms@verge.net.au>2014-04-23 09:11:03 +0900
commitaf64a074cb28273dcec05467dfd9348387da054d (patch)
treeafd8e1547f7500011d47c91e54ab20f0832693d2 /kexec/add_buffer.c
parentdb3c32babc5279816344be8210ca91a64331f0fe (diff)
x86, cleanup: add extra arguments to add_memmap() and delete_memmap()
This change will be used later: add_memmap(.., int *nr_memmap, .., int type); delete_memmap(.., int *nr_memmap, ..); memmap_p[] is statically allocated for a certain amount. It will be used later when mapping these memory maps to e820 map. It's convenient to keep track of the count of memmap_p (nr_memmap) in add_memmap and delete_memmap, because the counting has already been taken care of in these two functions. The original add_memmap() can only add memory range of RANGE_RAM type. For adding other types of memory range, add another argument for indicating the type. Signed-off-by: WANG Chao <chaowang@redhat.com> Acked-by: Dave Young <dyoung@redhat.com> Tested-by: Linn Crosetto <linn@hp.com> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/add_buffer.c')
0 files changed, 0 insertions, 0 deletions