]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/eeh: Introduce global mutex
authorGavin Shan <shangw@linux.vnet.ibm.com>
Fri, 7 Sep 2012 22:44:06 +0000 (22:44 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sun, 9 Sep 2012 23:35:30 +0000 (09:35 +1000)
commit602cb96fe7ad4ca59aaf1fd277f50ca5d711f619
tree3b01074605b136f9e3153a533df58af5787c4017
parent61087aecbb734e9503ac893fc185d2636cb077bf
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>
arch/powerpc/include/asm/eeh.h
arch/powerpc/platforms/pseries/eeh.c