From: Aurelien Jarno Date: Tue, 6 May 2014 21:31:44 +0000 (+0200) Subject: SPARC: add EFD_SEMAPHORE in (BZ #16916) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=add6d67730e24dc6bf9e925aebb647416f51747f;p=thirdparty%2Fglibc.git SPARC: add EFD_SEMAPHORE in (BZ #16916) EFD_SEMAPHORE has been added in the main , but not in the SPARC specific version. Fix that. (cherry picked from commit 83df9ad0cc861ef24f08a88c5a4c055e2516d33c) --- diff --git a/ChangeLog b/ChangeLog index 38c96450f7a..f102247d570 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2014-05-06 Aurelien Jarno + + [BZ# 16916] + * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE): + Define. + 2014-05-01 David S. Miller [BZ #16885] diff --git a/NEWS b/NEWS index 2967faf5c1f..4b66e216c82 100644 --- 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 diff --git a/sysdeps/unix/sysv/linux/sparc/bits/eventfd.h b/sysdeps/unix/sysv/linux/sparc/bits/eventfd.h index d76ac5f713e..05da814bfd6 100644 --- a/sysdeps/unix/sysv/linux/sparc/bits/eventfd.h +++ b/sysdeps/unix/sysv/linux/sparc/bits/eventfd.h @@ -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