Commit 488e9a54 authored by Karl Heuer's avatar Karl Heuer

(sbrk): Shrink heap by arbitrary amounts.

parent 35f0d482
......@@ -128,8 +128,6 @@ sbrk (unsigned long increment)
size = -size;
/* Sanity checks. */
if (size % get_page_size () != 0)
return NULL;
if ((data_region_end - size) < data_region_base)
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