aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-04-01 19:25:51 +0000
committerUlrich Drepper <drepper@redhat.com>2009-04-01 19:25:51 +0000
commit3ce976cd88fd6d4f24a64fd6d9557ea505e4bcc5 (patch)
treea0ac74f560661c1df0610c35d3b17dcb445f20a0
parent22c8319345a279e22cf17aa5f9aa851a2b4091c2 (diff)
downloadglibc-3ce976cd88fd6d4f24a64fd6d9557ea505e4bcc5.zip
glibc-3ce976cd88fd6d4f24a64fd6d9557ea505e4bcc5.tar.gz
glibc-3ce976cd88fd6d4f24a64fd6d9557ea505e4bcc5.tar.bz2
* sysdeps/unix/sysv/linux/sys/eventfd.h (EFD_SEMAPHORE): Define.
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/unix/sysv/linux/sys/eventfd.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 8fd7ac8..502b61f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-04-01 Ulrich Drepper <drepper@redhat.com>
+
+ * sysdeps/unix/sysv/linux/sys/eventfd.h (EFD_SEMAPHORE): Define.
+
2009-03-31 Ulrich Drepper <drepper@redhat.com>
* elf/dl-open.c: Keep track of used name spaces and only iterate over
diff --git a/sysdeps/unix/sysv/linux/sys/eventfd.h b/sysdeps/unix/sysv/linux/sys/eventfd.h
index 7c6cf71..d942df4 100644
--- a/sysdeps/unix/sysv/linux/sys/eventfd.h
+++ b/sysdeps/unix/sysv/linux/sys/eventfd.h
@@ -28,6 +28,8 @@ typedef uint64_t eventfd_t;
/* Flags for signalfd. */
enum
{
+ EFD_SEMAPHORE = 1,
+#define EFD_SEMAPHORE EFD_SEMAPHORE
EFD_CLOEXEC = 02000000,
#define EFD_CLOEXEC EFD_CLOEXEC
EFD_NONBLOCK = 04000