Commit b65769c7 authored by Karl Heuer's avatar Karl Heuer

(sbrk): Allow request sizes to be different than the page size.

parent 8c147e40
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment