]> 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:18:16 +0000 (00:18 +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 38c96450f7a648c5abe1340a552304f5965bf6a8..f102247d570a111b032f786fac6d0e55f759963c 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-01  David S. Miller  <davem@davemloft.net>
 
        [BZ #16885]
diff --git a/NEWS b/NEWS
index 2967faf5c1f6ae5a771e1273dae6f5d64a55d780..4b66e216c82c0d9e9066a92a35015a81a780b8c4 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -10,7 +10,7 @@ Version 2.16.1
 * The following bugs are resolved with this release:
 
   6530, 14195, 14459, 14476, 14562, 14621, 14648, 14756, 14831, 15073,
-  16510, 16885.
+  16510, 16885, 16916.
 
 Version 2.16
 
index d76ac5f713ea322fa924ef8ee4b55c7b1856486f..05da814bfd66e95b4567db0db1ab8d6365e68ad1 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