aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorLance Roy <[email protected]>2018-10-04 23:45:47 -0700
committerPaul E. McKenney <[email protected]>2018-11-12 09:06:22 -0800
commit35f3aa39f243e8c95e12a2b2d05b1d2e62ac58a4 (patch)
tree226932965821030f976652aa625b01613d053365 /scripts/gcc-plugins/cyc_complexity_plugin.c
parent04547728b7b775333a4f6fbb3c55102a79dc4596 (diff)
mm: Replace spin_is_locked() with lockdep
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 <[email protected]> Cc: Andrew Morton <[email protected]> Cc: "Kirill A. Shutemov" <[email protected]> Cc: Yang Shi <[email protected]> Cc: Matthew Wilcox <[email protected]> Cc: Mel Gorman <[email protected]> Acked-by: Vlastimil Babka <[email protected]> Cc: Jan Kara <[email protected]> Cc: Shakeel Butt <[email protected]> Cc: <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions