bionic/linker: make the buddy allocator compute max_order on its own

Signed-off-by: Iliyan Malchev <malchev@google.com>
This commit is contained in:
Iliyan Malchev
2009-10-19 14:25:17 -07:00
parent af7315acf6
commit bb9eedeff4
2 changed files with 8 additions and 1 deletions

View File

@@ -98,7 +98,7 @@ static struct ba ba_prelink = {
.base = LIBBASE,
.size = LIBLAST - LIBBASE,
.min_alloc = LIBINC,
.max_order = 128,
/* max_order will be determined automatically */
.bitmap = ba_prelink_bitmap,
.num_entries = sizeof(ba_prelink_bitmap)/sizeof(ba_prelink_bitmap[0]),
};