diff options
Diffstat (limited to 'sysdeps/mach/hurd/htl/pt-sysdep.c')
-rw-r--r-- | sysdeps/mach/hurd/htl/pt-sysdep.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/htl/pt-sysdep.c b/sysdeps/mach/hurd/htl/pt-sysdep.c index 32a290c4ee..84d191475d 100644 --- a/sysdeps/mach/hurd/htl/pt-sysdep.c +++ b/sysdeps/mach/hurd/htl/pt-sysdep.c @@ -78,6 +78,10 @@ _init_routine (void *stack) valid if the main thread terminates. */ thread->stack = 0; +#ifndef PAGESIZE + __pthread_default_attr.__guardsize = __vm_page_size; +#endif + ___pthread_self = thread; /* Decrease the number of threads, to take into account that the |