summaryrefslogtreecommitdiff
path: root/sysdeps/mach/pt-stack-alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/pt-stack-alloc.c')
-rw-r--r--sysdeps/mach/pt-stack-alloc.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sysdeps/mach/pt-stack-alloc.c b/sysdeps/mach/pt-stack-alloc.c
index f545ef3..121c189 100644
--- a/sysdeps/mach/pt-stack-alloc.c
+++ b/sysdeps/mach/pt-stack-alloc.c
@@ -24,8 +24,6 @@
#include <pt-internal.h>
-#define __pthread_stacksize __pthread_default_attr.stacksize
-
/* The next address to use for stack allocation. */
static vm_address_t next_stack_base = VM_MIN_ADDRESS;
@@ -41,9 +39,6 @@ __pthread_stack_alloc (void **stackaddr, size_t stacksize)
vm_offset_t base;
int i = 0;
- if (stacksize != __pthread_stacksize)
- return EINVAL;
-
get_stack:
i ++;
for (base = next_stack_base;