Revision bb7ec043 linux-user/syscall.c
b/linux-user/syscall.c | ||
---|---|---|
4086 | 4086 |
#endif |
4087 | 4087 |
#ifdef TARGET_NR_mmap2 |
4088 | 4088 |
case TARGET_NR_mmap2: |
4089 |
#if defined(TARGET_SPARC) || defined(TARGET_MIPS)
|
|
4089 |
#ifndef MMAP_SHIFT
|
|
4090 | 4090 |
#define MMAP_SHIFT 12 |
4091 |
#else |
|
4092 |
#define MMAP_SHIFT TARGET_PAGE_BITS |
|
4093 | 4091 |
#endif |
4094 | 4092 |
ret = get_errno(target_mmap(arg1, arg2, arg3, |
4095 | 4093 |
target_to_host_bitmask(arg4, mmap_flags_tbl), |
Also available in: Unified diff