summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx4/eq.c
diff options
context:
space:
mode:
authorJack Morgenstein <jackm@dev.mellanox.co.il>2012-11-27 16:24:29 +0000
committerRoland Dreier <roland@purestorage.com>2012-11-29 12:14:45 -0800
commitceb7decb366591e9b67d70832e07f5d240572a3d (patch)
tree5fb1789536cde94d2b616c1fb46f9b5a66dd492f /drivers/net/ethernet/mellanox/mlx4/eq.c
parent08ff32352d6ff7083533dc1c25618d42f92ec28e (diff)
downloadblackbird-op-linux-ceb7decb366591e9b67d70832e07f5d240572a3d.tar.gz
blackbird-op-linux-ceb7decb366591e9b67d70832e07f5d240572a3d.zip
IB/mlx4: Fix spinlock order to avoid lockdep warnings
lockdep warns about taking a hard-irq-unsafe lock (sriov->id_map_lock) inside a hard-irq-safe lock (sriov->going_down_lock). Since id_map_lock is never taken in the interrupt context, we can simply reverse the order of taking the two spinlocks, thus avoiding the warning and the depencency. 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>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx4/eq.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud