(sbrk): Allow request sizes to be different than the page size.
This commit is contained in:
parent
8c147e4053
commit
b65769c78d
1 changed files with 0 additions and 2 deletions
|
@ -143,8 +143,6 @@ sbrk (unsigned long increment)
|
|||
else if (size > 0)
|
||||
{
|
||||
/* Sanity checks. */
|
||||
if (size % get_page_size () != 0)
|
||||
return NULL;
|
||||
if ((data_region_end + size) >
|
||||
(data_region_base + get_reserved_heap_size ()))
|
||||
return NULL;
|
||||
|
|
Loading…
Add table
Reference in a new issue