]> 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:00:56 +0000 (00:00 +0200)
EFD_SEMAPHORE has been added in the main <bits/eventfd.h>, but not in
the SPARC specific version. Fix that.

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

index 588bcee2f1d9c95c647db4c5c50c79af9a74d526..983896b3f32687ee4a5b519ea0cedab60adb6f0f 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-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
 
        * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
diff --git a/NEWS b/NEWS
index 47c951bf8817186058116e2bde7b0a4f9e59dd2a..cc499de68d11106701764c073bbf357b0e081b19 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -16,7 +16,7 @@ Version 2.20
   16677, 16680, 16683, 16689, 16695, 16701, 16706, 16707, 16712, 16713,
   16714, 16731, 16739, 16740, 16743, 16754, 16758, 16759, 16760, 16770,
   16786, 16789, 16791, 16799, 16800, 16815, 16823, 16824, 16831, 16838,
-  16854, 16885, 16888, 16890, 16912.
+  16854, 16885, 16888, 16890, 16912, 16916.
 
 * The minimum Linux kernel version that this version of the GNU C Library
   can be used with is 2.6.32.
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