diff options
author | Maya Nakamura <m.maya.nakamura@gmail.com> | 2019-07-12 10:14:47 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2019-07-22 11:06:44 +0200 |
commit | fcd3f6222a4ece735d0b3ffb93f646eff693aa69 (patch) | |
tree | fffadb9ff6d7f705b4cb5924a9ec5e9ea95bcba6 /arch/x86/hyperv | |
parent | Linus 5.3-rc1 (diff) | |
download | linux-fcd3f6222a4ece735d0b3ffb93f646eff693aa69.tar.xz linux-fcd3f6222a4ece735d0b3ffb93f646eff693aa69.zip |
x86/hyperv: Create and use Hyper-V page definitions
Define HV_HYP_PAGE_SHIFT, HV_HYP_PAGE_SIZE, and HV_HYP_PAGE_MASK because
the Linux guest page size and hypervisor page size concepts are different,
even though they happen to be the same value on x86.
Also, replace PAGE_SIZE with HV_HYP_PAGE_SIZE.
Signed-off-by: Maya Nakamura <m.maya.nakamura@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Link: https://lkml.kernel.org/r/e95111629abf65d016e983f72494cbf110ce605f.1562916939.git.m.maya.nakamura@gmail.com
Diffstat (limited to 'arch/x86/hyperv')
0 files changed, 0 insertions, 0 deletions