diff options
author | Gavin Shan <shangw@linux.vnet.ibm.com> | 2013-06-25 14:35:27 +0800 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-06-25 17:24:41 +1000 |
commit | ef6a28577398df2853abf123cb4a2e0c57eb879a (patch) | |
tree | 2f8b3c08564a08916899c35c8ae06dd83a2c875d /arch/powerpc/kernel/eeh.c | |
parent | ff1e7683418798e44eb8af1ab9f28dd475af6034 (diff) | |
download | talos-op-linux-ef6a28577398df2853abf123cb4a2e0c57eb879a.tar.gz talos-op-linux-ef6a28577398df2853abf123cb4a2e0c57eb879a.zip |
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>
Diffstat (limited to 'arch/powerpc/kernel/eeh.c')
-rw-r--r-- | arch/powerpc/kernel/eeh.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/powerpc/kernel/eeh.c b/arch/powerpc/kernel/eeh.c index af2b9ae07df5..e5796524631c 100644 --- a/arch/powerpc/kernel/eeh.c +++ b/arch/powerpc/kernel/eeh.c @@ -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); |