[PATCH tip/core/rcu 2/7] sfc: Replace spin_is_locked() with lockdep

2018-11-11 Thread Paul E. McKenney
From: Lance Roy lockdep_assert_held() is better suited to checking locking requirements, since it only checks if the current thread holds the lock regardless of whether someone else does. This is also a step towards possibly removing spin_is_locked(). Signed-off-by: Lance Roy Cc: Solarflare

[PATCH tip/core/rcu 2/7] sfc: Replace spin_is_locked() with lockdep

2018-11-11 Thread Paul E. McKenney
From: Lance Roy lockdep_assert_held() is better suited to checking locking requirements, since it only checks if the current thread holds the lock regardless of whether someone else does. This is also a step towards possibly removing spin_is_locked(). Signed-off-by: Lance Roy Cc: Solarflare