Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 297700
b: refs/heads/master
c: cf42004
h: refs/heads/master
v: v3
  • Loading branch information
David Howells authored and H. Peter Anvin committed Feb 19, 2012
1 parent 3a14af8 commit dbcc00c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 24 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1fd36adcd98c14d2fd97f545293c488775cb2823
refs/heads/master: cf420048b3b2af9ce928d35cc5455c646c9dd2f7
23 changes: 0 additions & 23 deletions trunk/include/linux/time.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,8 @@
#include <linux/types.h>

#ifdef __KERNEL__
# include <linux/bitops.h>
# include <linux/cache.h>
# include <linux/posix_types.h>
# include <linux/seqlock.h>
# include <linux/string.h>
# include <linux/math64.h>
#endif

Expand Down Expand Up @@ -260,26 +257,6 @@ static __always_inline void timespec_add_ns(struct timespec *a, u64 ns)
a->tv_nsec = ns;
}

static inline void __FD_SET(unsigned long __fd, __kernel_fd_set *__fdsetp)
{
__set_bit(__fd, __fdsetp->fds_bits);
}

static inline void __FD_CLR(unsigned long __fd, __kernel_fd_set *__fdsetp)
{
__clear_bit(__fd, __fdsetp->fds_bits);
}

static inline int __FD_ISSET(unsigned long __fd, const __kernel_fd_set *__fdsetp)
{
return test_bit(__fd, __fdsetp->fds_bits);
}

static inline void __FD_ZERO(__kernel_fd_set *__fdsetp)
{
memset(__fdsetp->fds_bits, 0, sizeof __fdsetp->fds_bits);
}

#endif /* __KERNEL__ */

#define NFDBITS __NFDBITS
Expand Down

0 comments on commit dbcc00c

Please sign in to comment.