OSDN Git Service

KVM: x86: Clean up redundant ROL16(val, n) macro definition
authorLike Xu <likexu@tencent.com>
Mon, 9 Aug 2021 09:34:08 +0000 (17:34 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 13 Aug 2021 07:35:16 +0000 (03:35 -0400)
commitc1a527a1de46ad6f0f9d5907b29fc98e50267f8e
tree179c330442a187e01c61ecaeb080cae566e733be
parent65297341d8e15b04cc9e206597a3d7c407c346f6
KVM: x86: Clean up redundant ROL16(val, n) macro definition

The ROL16(val, n) macro is repeatedly defined in several vmcs-related
files, and it has never been used outside the KVM context.

Let's move it to vmcs.h without any intended functional changes.

Signed-off-by: Like Xu <likexu@tencent.com>
Message-Id: <20210809093410.59304-4-likexu@tencent.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/evmcs.c
arch/x86/kvm/vmx/evmcs.h
arch/x86/kvm/vmx/vmcs.h
arch/x86/kvm/vmx/vmcs12.c
arch/x86/kvm/vmx/vmcs12.h