Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-506 kernel: FC15 - small changes
[fs/lustre-release.git]
/
libcfs
/
include
/
libcfs
/
linux
/
linux-tcpip.h
diff --git
a/libcfs/include/libcfs/linux/linux-tcpip.h
b/libcfs/include/libcfs/linux/linux-tcpip.h
index
f0b7666
..
17068d7
100644
(file)
--- a/
libcfs/include/libcfs/linux/linux-tcpip.h
+++ b/
libcfs/include/libcfs/linux/linux-tcpip.h
@@
-83,6
+83,13
@@
libcfs_sock_wmem_queued(struct socket *sock)
return sock->sk->sk_wmem_queued;
}
+#ifndef HAVE_SK_SLEEP
+static inline wait_queue_head_t *sk_sleep(struct sock *sk)
+{
+ return sk->sk_sleep;
+}
+#endif
+
#ifdef HAVE_INIT_NET
#define DEFAULT_NET (&init_net)
#else