Message ID | 20241118210834.2366046-6-mjt@tls.msk.ru (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | Patch Round-up for stable 9.0.4, freeze on 2024-11-18 | expand |
diff --git a/linux-user/elfload.c b/linux-user/elfload.c index a343fb5ad0..42185cc111 100644 --- a/linux-user/elfload.c +++ b/linux-user/elfload.c @@ -2986,7 +2986,7 @@ static uintptr_t pgb_try_itree(const PGBAddrs *ga, uintptr_t base, static uintptr_t pgb_find_itree(const PGBAddrs *ga, IntervalTreeRoot *root, uintptr_t align, uintptr_t brk) { - uintptr_t last = mmap_min_addr; + uintptr_t last = sizeof(uintptr_t) == 4 ? MiB : GiB; uintptr_t base, skip; while (true) {