patch-2.3.4 linux/drivers/char/stallion.c
Next file: linux/drivers/isdn/Config.in
Previous file: linux/drivers/char/keyboard.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Wed May 26 09:31:45 1999
- Orig file:
v2.3.3/linux/drivers/char/stallion.c
- Orig date:
Fri Apr 16 08:20:23 1999
diff -u --recursive --new-file v2.3.3/linux/drivers/char/stallion.c linux/drivers/char/stallion.c
@@ -154,7 +154,7 @@
* is already swapping a shared buffer won't make things any worse.
*/
static char *stl_tmpwritebuf;
-static struct semaphore stl_tmpwritesem = MUTEX;
+static DECLARE_MUTEX(stl_tmpwritesem);
/*
* Define a local default termios struct. All ports will be created
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)