* [PATCH 4/6] x25: Allow 32 bit socket ioctl in 64 bit kernel
@ 2006-02-15 22:19 Shaun Pereira
0 siblings, 0 replies; 3+ messages in thread
From: Shaun Pereira @ 2006-02-15 22:19 UTC (permalink / raw)
To: netdev, David S. Miller, linux-kenel, x25 maintainer
Cc: Andre Hendry, Arnd Bergmann
This patch allows an x25 server application to run on a 64 bit kernel,
by fixing the following error message from the kernel.
T2 kernel: schedule_timeout:
wrong timeout value ffffffffffffffff from ffffffff88164796
Signed-off-by:Shaun Pereira <spereira@tusc.com.au>
Acked-by: Arnd Bergmann <arnd@arndb.de>
diff -uprN -X dontdiff linux-2.6.16-rc3-vanilla/net/x25/af_x25.c
linux-2.6.16-rc3/net/x25/af_x25.c
--- linux-2.6.16-rc3-vanilla/net/x25/af_x25.c 2006-02-15
11:13:50.000000000 +1100
+++ linux-2.6.16-rc3/net/x25/af_x25.c 2006-02-15 11:14:06.000000000
+1100
@@ -743,7 +743,7 @@ out:
return rc;
}
-static int x25_wait_for_data(struct sock *sk, int timeout)
+static int x25_wait_for_data(struct sock *sk, long timeout)
{
DECLARE_WAITQUEUE(wait, current);
int rc = 0;
^ permalink raw reply [flat|nested] 3+ messages in thread* [PATCH 4/6] x25: Allow 32 bit socket ioctl in 64 bit kernel
@ 2006-02-15 22:39 Shaun Pereira
0 siblings, 0 replies; 3+ messages in thread
From: Shaun Pereira @ 2006-02-15 22:39 UTC (permalink / raw)
To: linux-kenel, David S. Miller, netdev
32 bit modular socket ioctl emulation for 64 bit kernel
This patch allows an x25 server application to run on a 64 bit kernel, by
fixing the following error message from the kernel.
T2 kernel: schedule_timeout:
wrong timeout value ffffffffffffffff from ffffffff88164796
Signed-off-by:Shaun Pereira <spereira@tusc.com.au>
Acked-by: Arnd Bergmann <arnd@arndb.de>
diff -uprN -X dontdiff linux-2.6.16-rc3-vanilla/net/x25/af_x25.c linux-2.6.16-rc3/net/x25/af_x25.c
--- linux-2.6.16-rc3-vanilla/net/x25/af_x25.c 2006-02-15 11:13:50.000000000 +1100
+++ linux-2.6.16-rc3/net/x25/af_x25.c 2006-02-15 11:14:06.000000000 +1100
@@ -743,7 +743,7 @@ out:
return rc;
}
-static int x25_wait_for_data(struct sock *sk, int timeout)
+static int x25_wait_for_data(struct sock *sk, long timeout)
{
DECLARE_WAITQUEUE(wait, current);
int rc = 0;
^ permalink raw reply [flat|nested] 3+ messages in thread* [PATCH 4/6] x25: Allow 32 bit socket ioctl in 64 bit kernel
@ 2006-02-16 5:44 Shaun Pereira
0 siblings, 0 replies; 3+ messages in thread
From: Shaun Pereira @ 2006-02-16 5:44 UTC (permalink / raw)
To: linux-kenel, netdev, David S. Miller
32 bit modular socket ioctl emulation for 64 bit kernel
This patch allows an x25 server application to run on a 64 bit kernel, by
fixing the following error message from the kernel.
T2 kernel: schedule_timeout:
wrong timeout value ffffffffffffffff from ffffffff88164796
Signed-off-by:Shaun Pereira <spereira@tusc.com.au>
Acked-by: Arnd Bergmann <arnd@arndb.de>
diff -uprN -X dontdiff linux-2.6.16-rc3-vanilla/net/x25/af_x25.c linux-2.6.16-rc3/net/x25/af_x25.c
--- linux-2.6.16-rc3-vanilla/net/x25/af_x25.c 2006-02-16 15:28:58.000000000 +1100
+++ linux-2.6.16-rc3/net/x25/af_x25.c 2006-02-16 15:29:04.000000000 +1100
@@ -743,7 +743,7 @@ out:
return rc;
}
-static int x25_wait_for_data(struct sock *sk, int timeout)
+static int x25_wait_for_data(struct sock *sk, long timeout)
{
DECLARE_WAITQUEUE(wait, current);
int rc = 0;
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-02-16 5:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-15 22:19 [PATCH 4/6] x25: Allow 32 bit socket ioctl in 64 bit kernel Shaun Pereira
-- strict thread matches above, loose matches on Subject: below --
2006-02-15 22:39 Shaun Pereira
2006-02-16 5:44 Shaun Pereira
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox