]> 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)
commitf831dc5e43409aa18e92e8015b298eabecc7b619
tree3b01074605b136f9e3153a533df58af5787c4017
parentab80bf79043757d80f8271f698341a208bddbfe9
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