powerpc/eeh: Introdce flag to protect sysfs
authorGavin Shan <shangw@linux.vnet.ibm.com>
Wed, 24 Jul 2013 02:25:01 +0000 (10:25 +0800)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 24 Jul 2013 04:18:49 +0000 (14:18 +1000)
The patch introduces flag EEH_DEV_SYSFS to keep track that the sysfs
entries for the corresponding EEH device (then PCI device) has been
added or removed, in order to avoid race condition.

Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>

No differences found