From: Rafael J. Wysocki Date: Wed, 15 Jan 2014 13:33:20 +0000 (+0100) Subject: powerpc/eeh: Use global PCI rescan-remove locking X-Git-Tag: v3.14-rc1~132^2~2^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c2042c83aa7af10579b71a1fe5e22bbae69f08c;p=pandora-kernel.git powerpc/eeh: Use global PCI rescan-remove locking Race conditions are theoretically possible between the PCI device addition and removal in the PPC64 PCI error recovery driver and the generic PCI bus rescan and device removal that can be triggered via sysfs. To avoid those race conditions make PPC64 PCI error recovery driver use global PCI rescan-remove locking around PCI device addition and removal. Signed-off-by: Rafael J. Wysocki Signed-off-by: Bjorn Helgaas --- Reading git-diff-tree failed