aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-05-10 18:05:49 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-06-04 09:54:52 -0300
commit57094e576aed174317fb7de2da34be8536891678 (patch)
tree7e356e67bb76d05dea6247720518f34e18879c8f /sysdeps
parenteaa53d0f77691e37aa6f22e18205a2ba019e1a1c (diff)
downloadglibc-57094e576aed174317fb7de2da34be8536891678.zip
glibc-57094e576aed174317fb7de2da34be8536891678.tar.gz
glibc-57094e576aed174317fb7de2da34be8536891678.tar.bz2
libio: Assume _IO_lock_inexpensive
It is already set by both Linux and Hurd.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/mach/libc-lock.h3
-rw-r--r--sysdeps/nptl/stdio-lock.h3
2 files changed, 0 insertions, 6 deletions
diff --git a/sysdeps/mach/libc-lock.h b/sysdeps/mach/libc-lock.h
index d713f34..220fcee 100644
--- a/sysdeps/mach/libc-lock.h
+++ b/sysdeps/mach/libc-lock.h
@@ -24,9 +24,6 @@
#include <tls.h>
#include <lowlevellock.h>
-/* The locking here is very inexpensive, even for inlining. */
-#define _IO_lock_inexpensive 1
-
typedef unsigned int __libc_lock_t;
typedef struct
{
diff --git a/sysdeps/nptl/stdio-lock.h b/sysdeps/nptl/stdio-lock.h
index f2eee49..a4f419b 100644
--- a/sysdeps/nptl/stdio-lock.h
+++ b/sysdeps/nptl/stdio-lock.h
@@ -23,9 +23,6 @@
#include <lowlevellock.h>
-/* The locking here is very inexpensive, even for inlining. */
-#define _IO_lock_inexpensive 1
-
typedef struct { int lock; int cnt; void *owner; } _IO_lock_t;
#define _IO_lock_t_defined 1