]> 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:16:48 +0000 (00:16 +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 0d5c6d8db8b5e105eef963def50b217845ef8821..4f0c034d4668ee15a0b44bf6a4889655dd6ebfe8 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 831d1eaedc0e378fc5f8933e58e76acecc3e3a9b..a182e4c66afc1d89b71f58a49fa8127c69d945a4 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -8,7 +8,7 @@ using `glibc' in the "product" field.
 Version 2.17.1
 
 * The following bugs are resolved with this release:
-  15003, 15006, 15073, 15122, 15759, 16510, 16885.
+  15003, 15006, 15073, 15122, 15759, 16510, 16885, 16916.
 
 \f
 Version 2.17
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