Drivers: hv: Use HV_HYP_PAGE in hv_synic_enable_regs()
authorBoqun Feng <boqun.feng@gmail.com>
Wed, 16 Sep 2020 03:48:10 +0000 (11:48 +0800)
committerWei Liu <wei.liu@kernel.org>
Mon, 28 Sep 2020 08:55:12 +0000 (08:55 +0000)
commitef514d3e38edf36764e61fc11366410041598ad9
treeb2333bafa825a03a3e6584fc499351b79b99a1a1
parentc1135c7fd0e95740cd4619ce389f43ffce043140
Drivers: hv: Use HV_HYP_PAGE in hv_synic_enable_regs()

Both the base_*_gpa should use the guest page number in Hyper-V page, so
use HV_HYP_PAGE instead of PAGE.

Signed-off-by: Boqun Feng <boqun.feng@gmail.com>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Link: https://lore.kernel.org/r/20200916034817.30282-5-boqun.feng@gmail.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
drivers/hv/hv.c