]> git.karo-electronics.de Git - karo-tx-linux.git/commit
PCI: Fix fakephp deadlock
authorIan Abbott <abbotti@mev.co.uk>
Mon, 4 Feb 2008 13:43:13 +0000 (13:43 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 8 Feb 2008 19:46:25 +0000 (11:46 -0800)
commit1d866417a3f8b531cdfb314aa693d634d5fef4a3
tree75efb6a8e878e8d47bc04b99ad54dc96712d4451
parent7e3c396b7554c761718702a1a9d519bfab2fa430
PCI: Fix fakephp deadlock

This patch works around a problem in the fakephp driver when a process
writing "0" to a "power" sysfs file to fake removal of a PCI device ends
up deadlocking itself in the sysfs code.

The patch was recently accepted into Linus' tree after the 2.6.24 release:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=5c796ae7a7ebe56967ed9b9963d7c16d733635ff

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/hotplug/fakephp.c