Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1:kernel-2.6.32
qemu
qemu-cvs-mmap-amd64.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File qemu-cvs-mmap-amd64.patch of Package qemu
Index: qemu/linux-user/mmap.c ================================================================================ --- qemu-0.10.1/linux-user/mmap.c +++ qemu-0.10.1/linux-user/mmap.c @@ -33,6 +33,10 @@ #include "qemu.h" #include "qemu-common.h" +#if !defined(MAP_32BIT) +#define MAP_32BIT 0 +#endif + //#define DEBUG_MMAP #if defined(USE_NPTL) @@ -232,7 +236,7 @@ if (prot1 == 0) { /* no page was there, so we allocate one */ void *p = mmap(host_start, qemu_host_page_size, prot, - flags | MAP_ANONYMOUS, -1, 0); + flags | MAP_ANONYMOUS | MAP_32BIT, -1, 0); if (p == MAP_FAILED) return -1; prot1 = prot;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor