From: Alex Chiang Date: Fri, 5 Sep 2008 21:05:03 +0000 (-0700) Subject: PCI Hotplug: fakephp: fix deadlock... again X-Git-Tag: v2.6.27-rc7~29^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48902025af4da44dbbc0231061e542d6d40e712e;p=pandora-kernel.git PCI Hotplug: fakephp: fix deadlock... again Commit fe99740cac117f208707488c03f3789cf4904957 (construct one fakephp slot per PCI slot) introduced a regression, causing a deadlock when removing a PCI device. We also never actually removed the device from the PCI core. So we: - remove the device from the PCI core - do not directly call remove_slot() to prevent deadlock Yu Zhao reported and diagnosed this defect. Signed-off-by: Alex Chiang Acked-by: Yu Zhao Cc: Matthew Wilcox Cc: Kristen Carlson Accardi Signed-off-by: Andrew Morton Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed