patch-2.4.0-test8 linux/arch/sparc64/kernel/pci.c

Next file: linux/arch/sparc64/kernel/process.c
Previous file: linux/arch/sparc64/kernel/irq.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test7/linux/arch/sparc64/kernel/pci.c linux/arch/sparc64/kernel/pci.c
@@ -1,4 +1,4 @@
-/* $Id: pci.c,v 1.16 2000/03/01 02:53:33 davem Exp $
+/* $Id: pci.c,v 1.17 2000/09/05 06:49:44 anton Exp $
  * pci.c: UltraSparc PCI controller support.
  *
  * Copyright (C) 1997, 1998, 1999 David S. Miller (davem@redhat.com)
@@ -274,7 +274,6 @@
 		goto out;
 	}
 
-	lock_kernel();
 	switch(len) {
 	case 1:
 		pci_read_config_byte(dev, off, &byte);
@@ -293,7 +292,6 @@
 		err = -EINVAL;
 		break;
 	};
-	unlock_kernel();
 out:
 	return err;
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)