lkml.org 
[lkml]   [2000]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: si_band type
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/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.652 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site