From patchwork Tue May 6 21:40:55 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aurelien Jarno X-Patchwork-Id: 824 Return-Path: X-Original-To: siddhesh@wilcox.dreamhost.com Delivered-To: siddhesh@wilcox.dreamhost.com Received: from homiemail-mx23.g.dreamhost.com (mx2.sub5.homie.mail.dreamhost.com [208.113.200.128]) by wilcox.dreamhost.com (Postfix) with ESMTP id 18B6A360098 for ; Tue, 6 May 2014 14:41:11 -0700 (PDT) Received: by homiemail-mx23.g.dreamhost.com (Postfix, from userid 14307373) id C3B4D63A7FB77; Tue, 6 May 2014 14:41:10 -0700 (PDT) X-Original-To: glibc@patchwork.siddhesh.in Delivered-To: x14307373@homiemail-mx23.g.dreamhost.com Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by homiemail-mx23.g.dreamhost.com (Postfix) with ESMTPS id 93C0063A7FB94 for ; Tue, 6 May 2014 14:41:10 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id; q=dns; s= default; b=kIFnlxONmKk8XFIxjDNACioekJfXwuwt/Tle+wgBJGOOqyN10tyrN 9fapfipUCkU3n9DMOUTjgnZ6c5CbRzRSZVKN7aQGys7XgEgsQ9M1U4OPMC4NmsuV O+y5U3K3BGxsgIIF9y8Ga4QCKA4zqwR6934Xh5NJYpXKNhC+uqSJ5Q= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id; s=default; bh=rTZttydjU7wl4iqIvPqX7pSVWt8=; b=sz77Km9/4MvHl3zcCEDxuUN++hk4 3kVOt3NGfbSdampmien1CPFmd2wH6xLPFUTyT4lHh7leTzrIr0aDcxgKwJQ7v5Ad pPR93Mg6txicW8H6eDqwrLciI4ra4eDvGyEK0VgW/3UDR2Ka9HeOY0AKKOpltg8u OhmJq/LO9lTNt9Y= Received: (qmail 8128 invoked by alias); 6 May 2014 21:41:08 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 8116 invoked by uid 89); 6 May 2014 21:41:08 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.1 required=5.0 tests=BAYES_50, RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: hall.aurel32.net From: Aurelien Jarno To: libc-alpha@sourceware.org Cc: David Miller , Aurelien Jarno Subject: [PATCH] SPARC: add EFD_SEMAPHORE in Date: Tue, 6 May 2014 23:40:55 +0200 Message-Id: <1399412455-10577-1-git-send-email-aurelien@aurel32.net> X-DH-Original-To: glibc@patchwork.siddhesh.in EFD_SEMAPHORE has been added in the main , but not in the SPARC specific version. Fix that. --- ChangeLog | 6 ++++++ NEWS | 2 +- sysdeps/unix/sysv/linux/sparc/bits/eventfd.h | 2 ++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ac0d69e..0e661d9 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-04 Adam Conrad * locale/iso-4217.def: Reintroduce XDR currency. diff --git a/NEWS b/NEWS index 1351c01..7fc7745 100644 --- 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. + 16854, 16885, 16888, 16890, 16916. * The minimum Linux kernel version that this version of the GNU C Library can be used with is 2.6.32. diff --git a/sysdeps/unix/sysv/linux/sparc/bits/eventfd.h b/sysdeps/unix/sysv/linux/sparc/bits/eventfd.h index c81ddff..4d3ae3b 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