Revision b8076a74 linux-user/mmap.c
b/linux-user/mmap.c | ||
---|---|---|
152 | 152 |
int flags, int fd, unsigned long offset) |
153 | 153 |
{ |
154 | 154 |
unsigned long ret, end, host_start, host_end, retaddr, host_offset, host_len; |
155 |
#if defined(__alpha__) || defined(__sparc__) || defined(__x86_64__) |
|
155 |
#if defined(__alpha__) || defined(__sparc__) || defined(__x86_64__) || \ |
|
156 |
defined(__ia64) |
|
156 | 157 |
static unsigned long last_start = 0x40000000; |
157 | 158 |
#endif |
158 | 159 |
|
... | ... | |
191 | 192 |
host_start = start & qemu_host_page_mask; |
192 | 193 |
|
193 | 194 |
if (!(flags & MAP_FIXED)) { |
194 |
#if defined(__alpha__) || defined(__sparc__) || defined(__x86_64__) |
|
195 |
#if defined(__alpha__) || defined(__sparc__) || defined(__x86_64__) || \ |
|
196 |
defined(__ia64) |
|
195 | 197 |
/* tell the kenel to search at the same place as i386 */ |
196 | 198 |
if (host_start == 0) { |
197 | 199 |
host_start = last_start; |
Also available in: Unified diff