mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 07:22:34 +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: Cliff Whickman <[email protected]> Cc: Arnd Bergmann <[email protected]> Acked-by: Robin Holt <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>