commit | ea81245cf4dab5ef5428102a4a00281ed6e890a6 | [log] [tgz] |
---|---|---|
author | Gavin Shan <shangw@linux.vnet.ibm.com> | Tue Sep 11 19:16:18 2012 +0000 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Tue Sep 18 15:32:33 2012 +1000 |
tree | eb75479f80d1f24014f8b6f624e35f9e89d59067 | |
parent | 20ee6a970858a0f5711ea32cb7f855a81704cb53 [diff] |
powerpc/eeh: Global mutex to protect PE tree We have missed lots of situations where the PE hierarchy tree need protection through the EEH global mutex. The patch fixes that for those public APIs implemented in eeh_pe.c. The only exception is eeh_pe_restore_bars() because it calls eeh_pe_dev_traverse(), which has been protected by the mutex. Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>