mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 15:33:28 +00:00
lockdep_assert_held() is better suited to checking locking requirements, since it won't get confused when someone else holds the lock. This is also a step towards possibly removing spin_is_locked(). Signed-off-by: Lance Roy <[email protected]> Cc: "K. Y. Srinivasan" <[email protected]> Cc: Haiyang Zhang <[email protected]> Cc: Stephen Hemminger <[email protected]> Reviewed-by: Vitaly Kuznetsov <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>