From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12008 invoked by alias); 27 Apr 2012 02:50:30 -0000 Received: (qmail 11999 invoked by uid 22791); 27 Apr 2012 02:50:29 -0000 X-SWARE-Spam-Status: No, hits=-4.4 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-iy0-f169.google.com (HELO mail-iy0-f169.google.com) (209.85.210.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 27 Apr 2012 02:50:16 +0000 Received: by iajr24 with SMTP id r24so483972iaj.0 for ; Thu, 26 Apr 2012 19:50:15 -0700 (PDT) Received: by 10.50.159.202 with SMTP id xe10mr387268igb.66.1335495015789; Thu, 26 Apr 2012 19:50:15 -0700 (PDT) MIME-Version: 1.0 Received: by 10.50.111.131 with HTTP; Thu, 26 Apr 2012 19:49:55 -0700 (PDT) In-Reply-To: <1283285316-18973-1-git-send-email-vapier@gentoo.org> References: <1283285316-18973-1-git-send-email-vapier@gentoo.org> From: Matt Turner Date: Fri, 27 Apr 2012 02:50:00 -0000 Message-ID: Subject: Re: [PATCH] linux/alpha: convert from epoll_create2 to epoll_create1 To: Richard Henderson Cc: Mike Frysinger , libc-ports@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact libc-ports-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: libc-ports-owner@sourceware.org X-SW-Source: 2012-04/txt/msg00193.txt.bz2 On Tue, Aug 31, 2010 at 4:08 PM, Mike Frysinger wrote: > Alpha's epoll.h was missed when epoll_create2 was changed to epoll_create= 1. > > Signed-off-by: Mike Frysinger > > 2010-08-31 =A0Mike Frysinger =A0 > > =A0 =A0 =A0 =A0* sysdeps/unix/sysv/linux/alpha/sys/epoll.h (epoll_create2= ): Delete. > =A0 =A0 =A0 =A0(epoll_create1): Add. > --- > =A0sysdeps/unix/sysv/linux/alpha/sys/epoll.h | =A0 =A09 +++++---- > =A01 files changed, 5 insertions(+), 4 deletions(-) > > diff --git a/sysdeps/unix/sysv/linux/alpha/sys/epoll.h b/sysdeps/unix/sys= v/linux/alpha/sys/epoll.h > index 9f983a5..9177c31 100644 > --- a/sysdeps/unix/sysv/linux/alpha/sys/epoll.h > +++ b/sysdeps/unix/sysv/linux/alpha/sys/epoll.h > @@ -1,4 +1,4 @@ > -/* Copyright (C) 2002-2006, 2007, 2008 Free Software Foundation, Inc. > +/* Copyright (C) 2002-2008, 2010 Free Software Foundation, Inc. > =A0 =A0This file is part of the GNU C Library. > > =A0 =A0The GNU C Library is free software; you can redistribute it and/or > @@ -31,7 +31,7 @@ typedef __sigset_t sigset_t; > =A0#endif > > > -/* Flags to be passed to epoll_create2. =A0*/ > +/* Flags to be passed to epoll_create1. =A0*/ > =A0enum > =A0 { > =A0 =A0 EPOLL_CLOEXEC =3D 010000000, > @@ -101,8 +101,9 @@ __BEGIN_DECLS > =A0 =A0returned by epoll_create() should be closed with close(). =A0*/ > =A0extern int epoll_create (int __size) __THROW; > > -/* Same as epoll_create but with an additional FLAGS parameter. =A0*/ > -extern int epoll_create2 (int __size, int __flags) __THROW; > +/* Same as epoll_create but with an FLAGS parameter. =A0The unused SIZE > + =A0 parameter has been dropped. =A0*/ > +extern int epoll_create1 (int __flags) __THROW; > > > =A0/* Manipulate an epoll instance "epfd". Returns 0 in case of success, > -- > 1.7.2 > Richard, Can you apply this with the other patches I sent tonight? Thanks, Matt