]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
IB/ehca: Fix locking for shca_list_lock
authorJoachim Fenkes <fenkes@de.ibm.com>
Tue, 2 Dec 2008 04:58:57 +0000 (20:58 -0800)
committerRoland Dreier <rolandd@cisco.com>
Tue, 2 Dec 2008 04:58:57 +0000 (20:58 -0800)
commit75c21ae9aa75b0452318d05f737ea838672137f5
treea9a6012433e09ff85eed102c86be11e5e8af596e
parent061e41fdb5047b1fb161e89664057835935ca1d2
IB/ehca: Fix locking for shca_list_lock

shca_list_lock is taken from softirq context in ehca_poll_eqs, so we
need to lock IRQ safe elsewhere.  Found by lockdep.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Joachim Fenkes <fenkes@de.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ehca/ehca_main.c