X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fpoll.h;h=badd98ab06f662a43cf5fc3285aa80ac42c1d849;hb=5579a782ad7ffa162b1060993e4a298dd50e7a33;hp=16d813b364ef41c26d5404a53c480e3b0dbef0d3;hpb=53a3f3087be361dacfc02e7a85b6d6142a41ce8a;p=linux-2.6-omap-h63xx.git diff --git a/include/linux/poll.h b/include/linux/poll.h index 16d813b364e..badd98ab06f 100644 --- a/include/linux/poll.h +++ b/include/linux/poll.h @@ -114,9 +114,13 @@ void zero_fd_set(unsigned long nr, unsigned long *fdset) #define MAX_INT64_SECONDS (((s64)(~((u64)0)>>1)/HZ)-1) -extern int do_select(int n, fd_set_bits *fds, s64 *timeout); +extern int do_select(int n, fd_set_bits *fds, struct timespec *end_time); extern int do_sys_poll(struct pollfd __user * ufds, unsigned int nfds, - s64 *timeout); + struct timespec *end_time); +extern int core_sys_select(int n, fd_set __user *inp, fd_set __user *outp, + fd_set __user *exp, struct timespec *end_time); + +extern int poll_select_set_timeout(struct timespec *to, long sec, long nsec); #endif /* KERNEL */