Libor, I think you missed this patch the first time around.

Initialize spinlock with DEFINE_SPINLOCK() instead of
SPIN_LOCK_UNLOCKED to be friendly to CONFIG_PREEMPT_RT patches.

Signed-off-by: Roland Dreier <[EMAIL PROTECTED]>

--- infiniband/ulp/sdp/sdp_conn.c       (revision 2904)
+++ infiniband/ulp/sdp/sdp_conn.c       (working copy)
@@ -46,7 +46,7 @@ static struct ib_client sdp_client = {
        .remove = sdp_device_remove_one
 };
 
-static spinlock_t psn_lock = SPIN_LOCK_UNLOCKED;
+static DEFINE_SPINLOCK(psn_lock);
 static u32        psn_seed;
 
 /*
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to