Commit 06e9e6ac authored by Cai Huoqing's avatar Cai Huoqing Committed by Greg Kroah-Hartman
Browse files

vdpa: Make use of PFN_PHYS/PFN_UP/PFN_DOWN helper macro



[ Upstream commit 729ce5a5 ]

it's a nice refactor to make use of
PFN_PHYS/PFN_UP/PFN_DOWN helper macro

Signed-off-by: default avatarCai Huoqing <caihuoqing@baidu.com>
Link: https://lore.kernel.org/r/20210802013717.851-1-caihuoqing@baidu.com


Acked-by: default avatarJason Wang <jasowang@redhat.com>
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
Stable-dep-of: 0823dc64 ("vhost-vdpa: switch to use vmf_insert_pfn() in the fault handler")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent b21ea49e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment