PATCH: 2.5.27 fix abusers of set_bit

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Sun Jul 21 2002 - 15:04:41 EST


Neither epca nor specialix actually -care- what the event flag size is so
switching to unsigned long makes life happy and maybe makes it work 64bit
bigendian.

diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.27/drivers/char/epca.h linux-2.5.27-ac1/drivers/char/epca.h
--- linux-2.5.27/drivers/char/epca.h Sat Jul 20 20:11:23 2002
+++ linux-2.5.27-ac1/drivers/char/epca.h Sun Jul 21 15:31:27 2002
@@ -121,7 +121,7 @@
         int close_delay;
         int count;
         int blocked_open;
- int event;
+ ulong event;
         int asyncflags;
         uint dev;
         long session;
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.27/drivers/char/specialix_io8.h linux-2.5.27-ac1/drivers/char/specialix_io8.h
--- linux-2.5.27/drivers/char/specialix_io8.h Sat Jul 20 20:11:04 2002
+++ linux-2.5.27-ac1/drivers/char/specialix_io8.h Sun Jul 21 15:35:45 2002
@@ -110,7 +110,7 @@
         struct tty_struct * tty;
         int count;
         int blocked_open;
- int event;
+ ulong event;
         int timeout;
         int close_delay;
         long session;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Jul 23 2002 - 22:00:35 EST