diff options
author | Paul E. McKenney <paulmck@linux.ibm.com> | 2019-01-08 10:39:49 -0800 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.ibm.com> | 2019-01-25 15:36:05 -0800 |
commit | 6706dae90d85d394d0134d0ec516c25560b9ce77 (patch) | |
tree | 9f3f10eb1cb61d51ca5a8c1c7fb1d8b3b5cd487b /crypto/fcrypt.c | |
parent | 728e3e6178aa5790066b642dd2ebc9e9bdacff1b (diff) | |
download | linux-6706dae90d85d394d0134d0ec516c25560b9ce77.tar.gz linux-6706dae90d85d394d0134d0ec516c25560b9ce77.tar.bz2 linux-6706dae90d85d394d0134d0ec516c25560b9ce77.zip |
virt/kvm: 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: Paul E. McKenney <paulmck@linux.ibm.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: "Radim Krčmář" <rkrcmar@redhat.com>
Cc: <kvm@vger.kernel.org>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'crypto/fcrypt.c')
0 files changed, 0 insertions, 0 deletions