commit | 0741a951e8489ef2889d9e3eecf33bb29b779dd0 | [log] [tgz] |
---|---|---|
author | Diego Woitasen <diego@woitasen.com.ar> | Wed Nov 21 15:07:08 2007 -0800 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Fri Feb 01 15:04:21 2008 -0800 |
tree | 687ff8648146dcd4e1ea0da71b46eceb3cd19a22 | |
parent | 10d7425d201e866ee0c57424860e06118dae2500 [diff] |
PCI: remove unneeded lock_kernel() in drivers/pci/syscall.c. sys_pciconfig_{read,write}() are protected against PCI removal with the reference count in struct pci_dev. The concurrency of pci_user_{read,write}_config_* functions are already protected by pci_lock in drivers/pci/access.c. Signed-off-by: Diego Woitasen <diego@woitasen.com.ar> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>