[PATCH] PCI: Move pci_dev_put outside a spinlock
authorAlan Stern <stern@rowland.harvard.edu>
Thu, 23 Feb 2006 22:12:51 +0000 (17:12 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 23 Mar 2006 22:35:14 +0000 (14:35 -0800)
commitb89b7ea05a8f71426bd36ed12e6cd73179d0f720
treedb1212d7f74c7d1e98614fb593bcfb8801f5e8b0
parent8c4b2cf9af9b4ecc29d4f0ec4ecc8e94dc4432d7
[PATCH] PCI: Move pci_dev_put outside a spinlock

This patch (as659) fixes a might_sleep problem in the PCI core, by moving
a call to pci_dev_put() outside the scope of a spinlock.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/search.c