diff options
Diffstat (limited to 'pfinet')
-rw-r--r-- | pfinet/ChangeLog | 4 | ||||
-rw-r--r-- | pfinet/glue-include/linux/poll.h | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/pfinet/ChangeLog b/pfinet/ChangeLog index f8a09d00..8411db22 100644 --- a/pfinet/ChangeLog +++ b/pfinet/ChangeLog @@ -1,5 +1,9 @@ 2000-07-26 Mark Kettenis <kettenis@gnu.org> + * glue-include/linux/poll.h (POLLERR): Define as SELECT_READ | + SELECT_WRITE. + (POLLHUP): Define as SELECT_READ. + * linux-src/net/core/dev.c (net_bh) [_HURD_]: Leave out the code that gives other bottom halves a chance to run; the network bottom half is the only one present in pfinet. diff --git a/pfinet/glue-include/linux/poll.h b/pfinet/glue-include/linux/poll.h index d608abf2..b21c3c71 100644 --- a/pfinet/glue-include/linux/poll.h +++ b/pfinet/glue-include/linux/poll.h @@ -9,8 +9,8 @@ #define POLLWRNORM SELECT_WRITE #define POLLWRBAND SELECT_WRITE #define POLLPRI SELECT_URG -#define POLLERR 0 -#define POLLHUP 0 +#define POLLERR SELECT_READ | SELECT_WRITE +#define POLLHUP SELECT_READ typedef struct poll_table_struct { } poll_table; |