aboutsummaryrefslogtreecommitdiff
path: root/payloads/libpayload/include/usb
diff options
context:
space:
mode:
authorNico Huber <nico.huber@secunet.com>2012-11-22 17:37:32 +0100
committerPatrick Georgi <patrick@georgi-clan.de>2012-11-23 18:17:08 +0100
commit7a32e88f12efcc424a8e33de0f33f82356d73531 (patch)
tree80957a5dbbc2a3411ffcdab80ea0266c1425e27b /payloads/libpayload/include/usb
parent0a3f2393aefd8fceea075e3108d581aadec292ab (diff)
libpayload: Fix memalign() for fragmented alignment regions
Found a bug in the memory allocator ;-) If the total free space in an alignment region is large enough for an allocation but fragmented, such that there is no contiguous, sufficient large, free space in the region, memalign() was looking at the same region again and again in an endless loop. The advancing to the next region was just missing. Change-Id: I3fad833804675ee495577ca2749b007f46b5ff69 Signed-off-by: Nico Huber <nico.huber@secunet.com> Reviewed-on: http://review.coreboot.org/1906 Reviewed-by: Patrick Georgi <patrick@georgi-clan.de> Tested-by: build bot (Jenkins)
Diffstat (limited to 'payloads/libpayload/include/usb')
0 files changed, 0 insertions, 0 deletions