diff options
author | Lance Roy <ldr709@gmail.com> | 2018-10-02 22:38:48 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-10-15 20:54:17 +0200 |
commit | 1c87dc897b8c8ace3aa4480fa29ef6439dabb3ab (patch) | |
tree | f6921c9a94e984133c0eb2649d824102f2dfe588 /drivers/fpga/socfpga-a10.c | |
parent | f21996255f42eee28048ede652a592d6048b06b3 (diff) | |
download | linux-1c87dc897b8c8ace3aa4480fa29ef6439dabb3ab.tar.gz linux-1c87dc897b8c8ace3aa4480fa29ef6439dabb3ab.tar.bz2 linux-1c87dc897b8c8ace3aa4480fa29ef6439dabb3ab.zip |
hv_balloon: 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>
Cc: "K. Y. Srinivasan" <kys@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Cc: Stephen Hemminger <sthemmin@microsoft.com>
Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/fpga/socfpga-a10.c')
0 files changed, 0 insertions, 0 deletions