diff options
author | Ulrich Drepper <drepper@redhat.com> | 2008-08-15 22:35:53 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2008-08-15 22:35:53 +0000 |
commit | 965805e888b25d24cd5ca74b81ffdc61de6e0869 (patch) | |
tree | e785c580b64969498f3257d77d8b9956350107e3 /nptl/sysdeps/x86_64 | |
parent | 62a1ffc6faa2ff0d39b19e78fdef6f52bacb9d86 (diff) | |
download | glibc-965805e888b25d24cd5ca74b81ffdc61de6e0869.tar.gz glibc-965805e888b25d24cd5ca74b81ffdc61de6e0869.tar.xz glibc-965805e888b25d24cd5ca74b81ffdc61de6e0869.zip |
* sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Define MAP_STACK.
* sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
Diffstat (limited to 'nptl/sysdeps/x86_64')
-rw-r--r-- | nptl/sysdeps/x86_64/pthreaddef.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/nptl/sysdeps/x86_64/pthreaddef.h b/nptl/sysdeps/x86_64/pthreaddef.h index 0195bc928f..be63a8c74a 100644 --- a/nptl/sysdeps/x86_64/pthreaddef.h +++ b/nptl/sysdeps/x86_64/pthreaddef.h @@ -36,16 +36,6 @@ ({ char *frame; asm ("movq %%rsp, %0" : "=r" (frame)); frame; }) -/* We prefer to have the stack allocated in the low 4GB since this - allows faster context switches. */ -#define ARCH_MAP_FLAGS MAP_32BIT - -/* If it is not possible to allocate memory there retry without that - flag. */ -#define ARCH_RETRY_MMAP(size, prot) \ - mmap (NULL, size, prot, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0) - - /* XXX Until we have a better place keep the definitions here. */ /* While there is no such syscall. */ |