patch-2.4.0-test4 linux/drivers/char/dsp56k.c
Next file: linux/drivers/char/dtlk.c
Previous file: linux/drivers/char/drm/vm.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Wed Jul 12 21:58:42 2000
- Orig file:
v2.4.0-test3/linux/drivers/char/dsp56k.c
- Orig date:
Fri Jun 23 21:55:08 2000
diff -u --recursive --new-file v2.4.0-test3/linux/drivers/char/dsp56k.c linux/drivers/char/dsp56k.c
@@ -35,6 +35,7 @@
#include <linux/mm.h>
#include <linux/init.h>
#include <linux/devfs_fs_kernel.h>
+#include <linux/smp_lock.h>
#include <asm/segment.h>
#include <asm/atarihw.h>
@@ -483,7 +484,9 @@
{
case DSP56K_DEV_56001:
+ lock_kernel();
dsp56k.in_use = 0;
+ unlock_kernel();
break;
default:
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)