Re: si_band type

From: Jakub Jelinek (jakub@redhat.com)
Date: Wed Feb 23 2000 - 11:37:57 EST


On Wed, Feb 23, 2000 at 08:24:26AM -0800, Ulrich Drepper wrote:
> Jakub Jelinek <jakub@redhat.com> writes:
>
> > It should be doable for sparc64, I guess ia64 as well
>
> David already changed it.

Great.

>
> > but I strongly doubt we can do anything about it for alpha.
>
> Can this actually be used by any application in the moment? Note that
> the size of the structure doesn't change.

I've looked at phhttpd only, and it actually does not use si_band at all,
but it uses si_fd, but as on Alpha si_band is first:

                /* SIGPOLL */
                struct {
                        int _band; /* POLL_IN, POLL_OUT, POLL_MSG */
                        int _fd;
                } _sigpoll;

changing it to long would move si_fd.
Alternatively, if we could be sure noone uses si_band anywhere, alpha could
do:

                /* SIGPOLL */
                struct {
                        int _dummy;
                        int _fd;
                        long _band; /* POLL_IN, POLL_OUT, POLL_MSG */
                } _sigpoll;

Cheers,
    Jakub
___________________________________________________________________
Jakub Jelinek | jakub@redhat.com | http://sunsite.mff.cuni.cz/~jj
Linux version 2.3.47 on a sparc64 machine (1343.49 BogoMips)
___________________________________________________________________

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Feb 23 2000 - 21:00:33 EST