]> 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:15:23 +0000 (00:15 +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 15d560f36f67c9539dda6f819e5d48e292600bf7..961f0dd40ceed6b46bdaf92d553c9e181b35389f 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 5e0f69990827ef9daa19ab937e27a6e0c2f7a1c0..93175e179227bae0c38145d59b730e4802c20a6a 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -9,7 +9,7 @@ Version 2.18.1
 
 * The following bugs are resolved with this release:
 
-  15073, 15128, 15909, 15996, 16150, 16169, 16387, 16510, 16885.
+  15073, 15128, 15909, 15996, 16150, 16169, 16387, 16510, 16885, 16916.
 \f
 Version 2.18
 
index b0234d1a209d1bf26cf27b0ecb181731e10c10b3..e348cc6fb6e21f6cb3549660a65f108f6fd5643a 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