summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2000-07-26 18:44:39 +0000
committerMark Kettenis <kettenis@gnu.org>2000-07-26 18:44:39 +0000
commit94add81eb81b91d38bc1e72456697922b540edd9 (patch)
treeb173419ee080c8ed42f8427c49f3cc372e53a974
parentc402dc0d3e123f784d01888d89f20e57da8bc53d (diff)
* glue-include/linux/poll.h (POLLERR): Define as SELECT_READ |
SELECT_WRITE. (POLLHUP): Define as SELECT_READ.
-rw-r--r--pfinet/ChangeLog4
-rw-r--r--pfinet/glue-include/linux/poll.h4
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;