]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
SPARC: add EFD_SEMAPHORE in <bits/eventfd.h> (BZ #16916)
authorAurelien Jarno <aurelien@aurel32.net>
Tue, 6 May 2014 21:31:44 +0000 (23:31 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Tue, 6 May 2014 22:12:56 +0000 (00:12 +0200)
EFD_SEMAPHORE has been added in the main <bits/eventfd.h>, but not in
the SPARC specific version. Fix that.

(cherry picked from commit 83df9ad0cc861ef24f08a88c5a4c055e2516d33c)

ChangeLog
NEWS
sysdeps/unix/sysv/linux/sparc/bits/eventfd.h

index 32b0dae640103d18efc5b3590783652442f5e48b..d3d7bbc147acebbac2828069365feb01de225fe2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
+
+        [BZ# 16916]
+        * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
+        Define.
+
 2014-05-04  Allan McRae  <allan@archlinux.org>
 
        * po/eo.po: Update Esperanto translation from translation project.
diff --git a/NEWS b/NEWS
index 47d625da09e8f7e76ab0d987568458ff0653cb18..99923b3136fc79fd2d5cf80b935cc28c4d610aa1 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -9,7 +9,7 @@ Version 2.19.1
 
 * The following bugs are resolved with this release:
 
-  16545, 16623, 16885.
+  16545, 16623, 16885, 16916.
 \f
 Version 2.19
 
index c81ddff7b00f40571cf9010d88c1ef41c7288b02..4d3ae3bacda9255d4151715ebade97067f640b60 100644 (file)
@@ -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