commit | bca6b91dfdd4347d8fe0bb97377dda0cacd51d82 | [log] [tgz] |
---|---|---|
author | Boqun Feng <boqun.feng@gmail.com> | Wed Sep 16 11:48:11 2020 +0800 |
committer | Wei Liu <wei.liu@kernel.org> | Mon Sep 28 08:55:13 2020 +0000 |
tree | d3ae396545293bc6f10334bb4cdd0c7f0684c651 | |
parent | ef514d3e38edf36764e61fc11366410041598ad9 [diff] |
Drivers: hv: vmbus: Move virt_to_hvpfn() to hyperv header There will be more places other than vmbus where we need to calculate the Hyper-V page PFN from a virtual address, so move virt_to_hvpfn() to hyperv generic header. Signed-off-by: Boqun Feng <boqun.feng@gmail.com> Reviewed-by: Michael Kelley <mikelley@microsoft.com> Link: https://lore.kernel.org/r/20200916034817.30282-6-boqun.feng@gmail.com Signed-off-by: Wei Liu <wei.liu@kernel.org>