commit | 646a8499403e049845dda3141ec1ac021f029f11 | [log] [tgz] |
---|---|---|
author | Gavin Shan <shangw@linux.vnet.ibm.com> | Fri Sep 07 22:44:06 2012 +0000 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Mon Sep 10 09:35:30 2012 +1000 |
tree | 3b01074605b136f9e3153a533df58af5787c4017 | |
parent | 968f968f9b9aaa6ff92c20090c600fc7c112af55 [diff] |
powerpc/eeh: Introduce global mutex The patch introduces global mutex for EEH so that the core data structures can be protected by that. Also, 2 inline functions are exported for that: eeh_lock() and eeh_unlock(). Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>