about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2014-05-06 23:31:44 +0200
committerAurelien Jarno <aurelien@aurel32.net>2014-05-07 00:00:56 +0200
commit83df9ad0cc861ef24f08a88c5a4c055e2516d33c (patch)
tree0fb5c0deb31d3b486529b273d0935b88d20be272 /sysdeps/unix/sysv/linux
parentf360f94a05570045be615649e9a411cefba2e210 (diff)
downloadglibc-83df9ad0cc861ef24f08a88c5a4c055e2516d33c.tar.gz
glibc-83df9ad0cc861ef24f08a88c5a4c055e2516d33c.tar.xz
glibc-83df9ad0cc861ef24f08a88c5a4c055e2516d33c.zip
SPARC: add EFD_SEMAPHORE in <bits/eventfd.h> (BZ #16916)
EFD_SEMAPHORE has been added in the main <bits/eventfd.h>, but not in
the SPARC specific version. Fix that.
Diffstat (limited to 'sysdeps/unix/sysv/linux')
-rw-r--r--sysdeps/unix/sysv/linux/sparc/bits/eventfd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/sparc/bits/eventfd.h b/sysdeps/unix/sysv/linux/sparc/bits/eventfd.h
index c81ddff7b0..4d3ae3bacd 100644
--- a/sysdeps/unix/sysv/linux/sparc/bits/eventfd.h
+++ b/sysdeps/unix/sysv/linux/sparc/bits/eventfd.h
@@ -22,6 +22,8 @@
 /* Flags for eventfd.  */
 enum
   {
+    EFD_SEMAPHORE = 0x000001,
+#define EFD_SEMAPHORE EFD_SEMAPHORE
     EFD_CLOEXEC = 0x400000,
 #define EFD_CLOEXEC EFD_CLOEXEC
     EFD_NONBLOCK = 0x004000