aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/x86_64/nptl
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/x86_64/nptl')
-rw-r--r--sysdeps/x86_64/nptl/tls.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/x86_64/nptl/tls.h b/sysdeps/x86_64/nptl/tls.h
index b947d57..d7543c6 100644
--- a/sysdeps/x86_64/nptl/tls.h
+++ b/sysdeps/x86_64/nptl/tls.h
@@ -250,7 +250,7 @@ typedef struct
#endif
-/* Same as THREAD_SETMEM, but the member offset can be non-constant. */
+/* Set member of the thread descriptor directly. */
# define THREAD_SETMEM(descr, member, value) \
({ if (sizeof (descr->member) == 1) \
asm volatile ("movb %b0,%%fs:%P1" : \
@@ -273,7 +273,7 @@ typedef struct
}})
-/* Set member of the thread descriptor directly. */
+/* Same as THREAD_SETMEM, but the member offset can be non-constant. */
# define THREAD_SETMEM_NC(descr, member, idx, value) \
({ if (sizeof (descr->member[0]) == 1) \
asm volatile ("movb %b0,%%fs:%P1(%q2)" : \