• Aurelien Jarno's avatar
    linux-user: fix build on hosts not using guest base · 18e9ea8a
    Aurelien Jarno authored
    Commit 68a1c816 broke qemu on hosts not
    using guest base. It uses reserved_va unconditionally in mmap.c. To
    avoid to many #ifdef #endif blocks, define RESERVED_VA as either
    reserved_va or 0ul, and use it instead of reserved_va, similarly to what
    has been done with guest_base/GUEST_BASE.
    18e9ea8a
mmap.c 22.9 KB