powerpc/eeh: Remove eeh_mutex
authorGavin Shan <shangw@linux.vnet.ibm.com>
Tue, 25 Jun 2013 06:35:27 +0000 (14:35 +0800)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 25 Jun 2013 07:24:41 +0000 (17:24 +1000)
commitef6a28577398df2853abf123cb4a2e0c57eb879a
tree2f8b3c08564a08916899c35c8ae06dd83a2c875d
parentff1e7683418798e44eb8af1ab9f28dd475af6034
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>
arch/powerpc/include/asm/eeh.h
arch/powerpc/kernel/eeh.c
arch/powerpc/kernel/eeh_pe.c