[PATCH 11/11] powerpc/eeh: Introdce flag to protect sysfs

2013-07-23 Thread Gavin Shan
The patch introduces flag EEH_DEV_SYSFS to trace that the sysfs for the corresponding EEH device (then PCI device) has been added or removed, in order to avoid race condition. Signed-off-by: Gavin Shan --- arch/powerpc/include/asm/eeh.h |2 ++ arch/powerpc/kernel/eeh.c

[PATCH 11/11] powerpc/eeh: Introdce flag to protect sysfs

2013-07-23 Thread Gavin Shan
The patch introduces flag EEH_DEV_SYSFS to trace that the sysfs for the corresponding EEH device (then PCI device) has been added or removed, in order to avoid race condition. Signed-off-by: Gavin Shan --- arch/powerpc/include/asm/eeh.h |2 ++ arch/powerpc/kernel/eeh.c