mlx4_core: Fix potential deadlock in mlx4_eq_int()
authorJack Morgenstein <jackm@dev.mellanox.co.il>
Tue, 27 Nov 2012 16:24:30 +0000 (16:24 +0000)
committerRoland Dreier <roland@purestorage.com>
Thu, 29 Nov 2012 20:14:54 +0000 (12:14 -0800)
The slave_state_lock spinlock is used in both interrupt context and
process context, hence irq locking must be used.  Found by lockdep.

Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Roland Dreier <roland@purestorage.com>

No differences found