aboutsummaryrefslogtreecommitdiff
path: root/exec.c
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-31 16:33:53 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-31 16:33:53 +0000
commit0776590d70565df4165b328f3cb80d29d21d52a5 (patch)
treeeb9c0e2d263071cecc9ed3cbff40dad6ab5de8fa /exec.c
parentAdd TLS sections. (diff)
downloadqemu-kvm-0776590d70565df4165b328f3cb80d29d21d52a5.tar.gz
qemu-kvm-0776590d70565df4165b328f3cb80d29d21d52a5.tar.bz2
qemu-kvm-0776590d70565df4165b328f3cb80d29d21d52a5.zip
Mark host brk() area as reserved.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4637 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'exec.c')
-rw-r--r--exec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/exec.c b/exec.c
index 544e11136..a2e71f0b8 100644
--- a/exec.c
+++ b/exec.c
@@ -234,6 +234,7 @@ static void page_init(void)
FILE *f;
int n;
+ last_brk = (unsigned long)sbrk(0);
f = fopen("/proc/self/maps", "r");
if (f) {
do {