Drivers: hv: vmbus: Introduce {lock,unlock}_requestor()
authorAndrea Parri (Microsoft) <parri.andrea@gmail.com>
Tue, 19 Apr 2022 12:23:24 +0000 (14:23 +0200)
committerWei Liu <wei.liu@kernel.org>
Mon, 25 Apr 2022 15:51:13 +0000 (15:51 +0000)
commitb91eaf7267cf7aec0a4e087decf7770dfb694d78
tree2d765372e172cc792be1e0c0ec024a644226222d
parent0aadb6a7bb811554cf39318b5d18e8ec50dd9f02
Drivers: hv: vmbus: Introduce {lock,unlock}_requestor()

To abtract the lock and unlock operations on the requestor spin lock.
The helpers will come in handy in hv_pci.

No functional change.

Suggested-by: Michael Kelley <mikelley@microsoft.com>
Signed-off-by: Andrea Parri (Microsoft) <parri.andrea@gmail.com>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Link: https://lore.kernel.org/r/20220419122325.10078-6-parri.andrea@gmail.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
drivers/hv/channel.c
include/linux/hyperv.h