commit | 6a9a5ec10e79425a4df26122705ecf24763b7f2d | [log] [tgz] |
---|---|---|
author | Lance Roy <ldr709@gmail.com> | Tue Oct 02 22:38:50 2018 -0700 |
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | Wed Nov 14 10:56:33 2018 -0800 |
tree | e8e646acb968203beea08bce3cbb58abf6dd236d | |
parent | 15cef30974c5f8b256008beb62dcbf15792b77a9 [diff] |
i40e: Replace spin_is_locked() with lockdep 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 <ldr709@gmail.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>