aboutsummaryrefslogtreecommitdiffstats
path: root/com32/mboot/map.c
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@intel.com>2013-07-15 17:31:48 +0100
committerMatt Fleming <matt.fleming@intel.com>2013-07-17 18:10:42 +0100
commit6252212849d945450310248b656dfb6f13f5de48 (patch)
tree3b52d346e2020fa9106d705ef2e2e33085bed4b1 /com32/mboot/map.c
parent93e143290383556345586cc23c01fd17ba334aff (diff)
downloadsyslinux-6252212849d945450310248b656dfb6f13f5de48.tar.gz
syslinux-6252212849d945450310248b656dfb6f13f5de48.tar.xz
syslinux-6252212849d945450310248b656dfb6f13f5de48.zip
zonelist: rename syslinux_memmap_find()...
to syslinux_memmap_find_type(), which more accurately reflects its function and frees up the old name for another use. Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'com32/mboot/map.c')
-rw-r--r--com32/mboot/map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/mboot/map.c b/com32/mboot/map.c
index 99add306..84f3b20c 100644
--- a/com32/mboot/map.c
+++ b/com32/mboot/map.c
@@ -53,7 +53,7 @@ addr_t map_data(const void *data, size_t len, size_t align, int flags)
addr_t pad = (flags & MAP_NOPAD) ? 0 : -len & (align - 1);
addr_t xlen = len + pad;
- if (syslinux_memmap_find(amap, SMT_FREE, &start, &xlen, align) ||
+ if (syslinux_memmap_find_type(amap, SMT_FREE, &start, &xlen, align) ||
syslinux_add_memmap(&amap, start, len + pad, SMT_ALLOC) ||
syslinux_add_movelist(&ml, start, (addr_t) data, len) ||
(pad && syslinux_add_memmap(&mmap, start + len, pad, SMT_ZERO))) {