lkml.org 
[lkml]   [1998]   [Mar]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subjectpcmcia-3.0.0 + pre 2.1.89-3+ = problems
03/01/98 @ 04:03:06 PM (Sunday)

pre-patch 2.1.89-3 changed how poll_wait() was used. The patch below
looks correct but there may be other problems as well. It looks like
cardctl is getting hung up (probably in a system call, since SIGHUPing
cardctl will get it to finish loading).

Not a problem in the binaries themselves since the same binary will
work with 2.1.88's loadable modules (booting up under 2.1.88).
--- john
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
--- modules/ds.c.OLD Mon Dec 29 09:36:48 1997
+++ modules/ds.c Sat Feb 28 15:33:19 1998
@@ -673,7 +673,11 @@
user = file->private_data;
if (CHECK_USER(user))
return POLLERR;
+#if (LINUX_VERSION_CODE < VERSION(2,1,89))
poll_wait(&s->queue, wait);
+#else
+ poll_wait(file, &PIPE_WAIT(*(file->f_dentry->d_inode)), wait);
+#endif
if (!queue_empty(user))
return POLLIN | POLLRDNORM;
return 0;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 13:41    [W:0.022 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site