Commit 4c1de73d authored by blueswir1's avatar blueswir1
Browse files

Page align brk result like real Linux


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3048 c046a42c-6fe2-441c-8c8c-71466251a162
parent 33b37802
...@@ -308,7 +308,7 @@ static target_ulong target_original_brk; ...@@ -308,7 +308,7 @@ static target_ulong target_original_brk;
void target_set_brk(target_ulong new_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) long do_brk(target_ulong new_brk)
......
Supports Markdown
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