KVM: x86: hyperv: use defines when parsing hypercall parameters
authorVitaly Kuznetsov <vkuznets@redhat.com>
Wed, 16 May 2018 15:21:26 +0000 (17:21 +0200)
committerRadim Krčmář <rkrcmar@redhat.com>
Sat, 26 May 2018 12:14:33 +0000 (14:14 +0200)
commit142c95da92e847312f4d32cc8870719fe335d121
tree580d9abd77e526f5fbf45a433744fc161f78f77b
parentc9c92bee533073e2c3999200cfcff2a606ac8534
KVM: x86: hyperv: use defines when parsing hypercall parameters

Avoid open-coding offsets for hypercall input parameters, we already
have defines for them.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
arch/x86/kvm/hyperv.c