summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/svcsock.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1997-12-16 05:34:03 +0000
committerRalf Baechle <ralf@linux-mips.org>1997-12-16 05:34:03 +0000
commit967c65a99059fd459b956c1588ce0ba227912c4e (patch)
tree8224d013ff5d255420713d05610c7efebd204d2a /net/sunrpc/svcsock.c
parente20c1cc1656a66a2773bca4591a895cbc12696ff (diff)
Merge with Linux 2.1.72, part 1.
Diffstat (limited to 'net/sunrpc/svcsock.c')
-rw-r--r--net/sunrpc/svcsock.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/sunrpc/svcsock.c b/net/sunrpc/svcsock.c
index fb6b81db2..2701a8398 100644
--- a/net/sunrpc/svcsock.c
+++ b/net/sunrpc/svcsock.c
@@ -226,7 +226,7 @@ svc_wake_up(struct svc_serv *serv)
static int
svc_sendto(struct svc_rqst *rqstp, struct iovec *iov, int nr)
{
- unsigned long oldfs;
+ mm_segment_t oldfs;
struct socket *sock = rqstp->rq_sock->sk_sock;
struct msghdr msg;
int i, buflen, len;
@@ -268,7 +268,7 @@ svc_sendto(struct svc_rqst *rqstp, struct iovec *iov, int nr)
static int
svc_recv_available(struct svc_sock *svsk)
{
- unsigned long oldfs;
+ mm_segment_t oldfs;
struct socket *sock = svsk->sk_sock;
int avail, err;
@@ -285,7 +285,7 @@ svc_recv_available(struct svc_sock *svsk)
static int
svc_recvfrom(struct svc_rqst *rqstp, struct iovec *iov, int nr, int buflen)
{
- unsigned long oldfs;
+ mm_segment_t oldfs;
struct msghdr msg;
struct socket *sock;
int len;