aboutsummaryrefslogtreecommitdiff
path: root/htl/pt-internal.h
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2020-02-09 17:27:38 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2020-02-09 17:28:33 +0000
commit34f168fb82b992edd3549222486704ee3dd9d1de (patch)
tree42cc428b4eaa68a221007b27f1a0c4bac59fc9a1 /htl/pt-internal.h
parent74159dc58af2ce8a32b62daecd587f29ff7931f2 (diff)
downloadglibc-34f168fb82b992edd3549222486704ee3dd9d1de.zip
glibc-34f168fb82b992edd3549222486704ee3dd9d1de.tar.gz
glibc-34f168fb82b992edd3549222486704ee3dd9d1de.tar.bz2
htl: Fix default guard size
When it is not hardcoded by the architecture with PAGESIZE, we need to use the dynamic values from __vm_page_size.
Diffstat (limited to 'htl/pt-internal.h')
-rw-r--r--htl/pt-internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/htl/pt-internal.h b/htl/pt-internal.h
index 9147b87..064e795 100644
--- a/htl/pt-internal.h
+++ b/htl/pt-internal.h
@@ -304,7 +304,7 @@ extern error_t __pthread_sigstate (struct __pthread *__restrict thread, int how,
/* Default thread attributes. */
-extern const struct __pthread_attr __pthread_default_attr;
+extern struct __pthread_attr __pthread_default_attr;
/* Default barrier attributes. */
extern const struct __pthread_barrierattr __pthread_default_barrierattr;