From e0faf22f31c48fb27b43c1825897d26e58feafc4 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 3 May 2009 17:20:00 +0200 Subject: This is my initial working version. There is a bug in boot in this version: subhurd sometimes cannot boot. --- pfinet.old/glue-include/linux/poll.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pfinet.old/glue-include/linux/poll.h (limited to 'pfinet.old/glue-include/linux/poll.h') diff --git a/pfinet.old/glue-include/linux/poll.h b/pfinet.old/glue-include/linux/poll.h new file mode 100644 index 00000000..b21c3c71 --- /dev/null +++ b/pfinet.old/glue-include/linux/poll.h @@ -0,0 +1,24 @@ +#ifndef _HACK_POLL_H_ +#define _HACK_POLL_H_ + +#include + +#define POLLIN SELECT_READ +#define POLLRDNORM SELECT_READ +#define POLLOUT SELECT_WRITE +#define POLLWRNORM SELECT_WRITE +#define POLLWRBAND SELECT_WRITE +#define POLLPRI SELECT_URG +#define POLLERR SELECT_READ | SELECT_WRITE +#define POLLHUP SELECT_READ + +typedef struct poll_table_struct { } poll_table; + +#include + +static inline void +poll_wait(struct file * filp, struct wait_queue ** wait_address, poll_table *p) +{ +} + +#endif -- cgit v1.2.3