OSDN Git Service

Drivers: hv: vmbus: Remove use of slow_virt_to_phys()
authorMichael Kelley <mikelley@microsoft.com>
Thu, 2 Aug 2018 03:08:24 +0000 (03:08 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Aug 2018 08:20:59 +0000 (10:20 +0200)
commit6ba34171bcbd10321c6cf554e0c1144d170f9d1a
tree9293b607773988936300e0d2780f9bf11fdbd7c3
parentd3b26dd7cb0e3433bfd3c1d4dcf74c6039bb49fb
Drivers: hv: vmbus: Remove use of slow_virt_to_phys()

slow_virt_to_phys() is only implemented for arch/x86.
Remove its use in arch independent Hyper-V drivers, and
replace with test for vmalloc() address followed by
appropriate v-to-p function. This follows the typical
pattern of other drivers and avoids the need to implement
slow_virt_to_phys() for Hyper-V on ARM64.

Signed-off-by: Michael Kelley <mikelley@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/channel.c