All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ulrich Drepper <drepper@redhat.com>
To: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: <alpha/poll.h> change
Date: Sat, 25 Mar 2006 12:42:36 -0800	[thread overview]
Message-ID: <4425AB3C.8010008@redhat.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 648 bytes --]

Alpha's <sys/poll.h> file was so far compatible with most of the other
archs (except SPARC).  Since the introduction of POLLREMOVE it's
different.  In Alpha:

 #define POLLREMOVE     (1 << 11)
+#define POLLRDHUP       (1 << 12)

For the other archs:

 #define POLLREMOVE     0x1000
+#define POLLRDHUP       0x2000


For Alpha the values should have been 1<<12 and 1<<13.  Neither
POLLREMOVE nor POLLRDHUP have been in any glibc header.  How widely are
they used elsewhere?  Is it too late to change the Alpha definitions to
match the rest?

-- 
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 253 bytes --]

             reply	other threads:[~2006-03-25 20:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-25 20:42 Ulrich Drepper [this message]
2006-03-26  4:04 ` <alpha/poll.h> change Davide Libenzi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4425AB3C.8010008@redhat.com \
    --to=drepper@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.