Page align brk result like real Linux

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3048 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
blueswir1 2007-07-07 20:45:44 +00:00
parent 33b3780262
commit 4c1de73d15
1 changed files with 1 additions and 1 deletions

View File

@ -308,7 +308,7 @@ static target_ulong target_original_brk;
void target_set_brk(target_ulong new_brk)
{
target_original_brk = target_brk = new_brk;
target_original_brk = target_brk = HOST_PAGE_ALIGN(new_brk);
}
long do_brk(target_ulong new_brk)