diff options
author | Diego Woitasen <diego@woitasen.com.ar> | 2007-11-22 00:07:08 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-02-02 00:04:21 +0100 |
commit | 0741a951e8489ef2889d9e3eecf33bb29b779dd0 (patch) | |
tree | 687ff8648146dcd4e1ea0da71b46eceb3cd19a22 /scripts | |
parent | PCI: get rid of pci_dev::{vendor,device}_compatible fields (diff) | |
download | linux-0741a951e8489ef2889d9e3eecf33bb29b779dd0.tar.xz linux-0741a951e8489ef2889d9e3eecf33bb29b779dd0.zip |
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions