powerpc/eeh: Remove eeh_mutex
Originally, eeh_mutex was introduced to protect the PE hierarchy tree and the attached EEH devices because EEH core was possiblly running with multiple threads to access the PE hierarchy tree. However, we now have only one kthread in EEH core. So we needn't the eeh_mutex and just remove it. Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:

committed by
Benjamin Herrenschmidt

parent
ff1e768341
commit
ef6a285773
@@ -103,9 +103,6 @@ EXPORT_SYMBOL(eeh_subsystem_enabled);
|
||||
*/
|
||||
int eeh_probe_mode;
|
||||
|
||||
/* Global EEH mutex */
|
||||
DEFINE_MUTEX(eeh_mutex);
|
||||
|
||||
/* Lock to avoid races due to multiple reports of an error */
|
||||
DEFINE_RAW_SPINLOCK(confirm_error_lock);
|
||||
|
||||
|
Reference in New Issue
Block a user