From 965805e888b25d24cd5ca74b81ffdc61de6e0869 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 15 Aug 2008 22:35:53 +0000 Subject: * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Define MAP_STACK. * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise. --- nptl/sysdeps/x86_64/pthreaddef.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'nptl/sysdeps') diff --git a/nptl/sysdeps/x86_64/pthreaddef.h b/nptl/sysdeps/x86_64/pthreaddef.h index 0195bc9..be63a8c 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. */ -- cgit v1.1