IB/mlx4: Fix uninitialized spinlock for 32-bit archs
authorJack Morgenstein <jackm@dev.mellanox.co.il>
Sun, 13 May 2007 14:18:23 +0000 (17:18 +0300)
committerRoland Dreier <rolandd@cisco.com>
Mon, 14 May 2007 20:02:58 +0000 (13:02 -0700)
commit26c6bc7b812b4157ba929035e467c0f4dd165916
treef66e1ef0bf5427d2518cd611464580337bc83441
parent20eebcf09c2d329e4dcdd765634c0a524195e16d
IB/mlx4: Fix uninitialized spinlock for 32-bit archs

uar_lock spinlock was used in mlx4_ib_cq_arm without being initialized
(this only affects 32-bit archs, because uar_lock is not used on
64-bit archs and MLX4_INIT_DOORBELL_LOCK() is a NOP).

Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mlx4/main.c