PCI: kill BKL in /proc/pci
authorArnd Bergmann <arnd@arndb.de>
Sat, 3 Jul 2010 22:02:28 +0000 (00:02 +0200)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 15 Oct 2010 20:09:47 +0000 (13:09 -0700)
commit991f739544a0923b70fb69b115edb880ff9fcc4a
tree74ebd40122d120e058d9f245ac5e3c989c40ef3a
parent93e75faba3982767d425323aec5726282d3ad7a2
PCI: kill BKL in /proc/pci

All operations in the pci procfs ioctl functions are
atomic, so no lock is needed here.

Also add a compat_ioctl method, since all the commands
are compatible in 32 bit mode.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Cc: Tejun Heo <tj@kernel.org>
Cc: linux-pci@vger.kernel.org
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/proc.c