patch-2.4.0-test8 linux/arch/sparc/kernel/pcic.c
Next file: linux/arch/sparc/kernel/process.c
Previous file: linux/arch/sparc/kernel/irq.c
Back to the patch index
Back to the overall index
- Lines: 22
- Date:
Thu Sep 7 08:32:00 2000
- Orig file:
v2.4.0-test7/linux/arch/sparc/kernel/pcic.c
- Orig date:
Fri Jul 14 12:12:07 2000
diff -u --recursive --new-file v2.4.0-test7/linux/arch/sparc/kernel/pcic.c linux/arch/sparc/kernel/pcic.c
@@ -1,4 +1,4 @@
-/* $Id: pcic.c,v 1.16 2000/07/11 01:38:57 davem Exp $
+/* $Id: pcic.c,v 1.17 2000/09/05 06:49:44 anton Exp $
* pcic.c: Sparc/PCI controller support
*
* Copyright (C) 1998 V. Roganov and G. Raiko
@@ -940,7 +940,6 @@
if(!suser())
return -EPERM;
- lock_kernel();
switch(len) {
case 1:
pcibios_read_config_byte(bus, dfn, off, &ubyte);
@@ -959,7 +958,6 @@
err = -EINVAL;
break;
};
- unlock_kernel();
return err;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)