forked from Imagelibrary/rtems
2009-08-18 Sebastian Huber <Sebastian.Huber@embedded-brains.de>
* score/src/heapallocatealigned.c: Change break to continue to fix issue encountered on ARM. Fix indentation.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2009-08-18 Sebastian Huber <Sebastian.Huber@embedded-brains.de>
|
||||
|
||||
* score/src/heapallocatealigned.c: Change break to continue to fix
|
||||
issue encountered on ARM. Fix indentation.
|
||||
|
||||
2009-08-18 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
* rtems/src/timerreset.c: Rework to ease analysis.
|
||||
|
||||
@@ -214,7 +214,7 @@ void *_Heap_Allocate_aligned(
|
||||
_Heap_Align_up_uptr(&aligned_user_addr, alignment);
|
||||
if (aligned_user_addr - user_addr >= page_size) {
|
||||
/* No, we can't use the block */
|
||||
goto exit_point;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -235,6 +235,7 @@ void *_Heap_Allocate_aligned(
|
||||
aligned_user_addr, size);
|
||||
|
||||
user_ptr = (void*)aligned_user_addr;
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user