diff options
author | Lance Roy <[email protected]> | 2018-10-04 23:45:38 -0700 |
---|---|---|
committer | Paul E. McKenney <[email protected]> | 2018-11-08 21:53:35 -0800 |
commit | 868f7a09a4f385e5167fc0ff9ec4c3f817897f3a (patch) | |
tree | efbc7bb0d39d42403e8fed0f019557d5a0929ed6 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 651022382c7f8da46cb4872a545ee1da6d097d2a (diff) |
x86/PCI: 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: Bjorn Helgaas <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Cc: <[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