OSDN Git Service

KVM: VMX: Drop unneeded CONFIG_X86_LOCAL_APIC check
authorVitaly Kuznetsov <vkuznets@redhat.com>
Tue, 18 May 2021 14:43:36 +0000 (16:43 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 24 May 2021 16:47:39 +0000 (18:47 +0200)
commit377872b3355b9a7f04f25388e2c9399845259c05
tree3ae40795aa5a260f0cfd7f5a09349f256538208b
parent778a136e48be6b1b703328a0a4d6d459cf97449f
KVM: VMX: Drop unneeded CONFIG_X86_LOCAL_APIC check

CONFIG_X86_LOCAL_APIC is always on when CONFIG_KVM (on x86) since
commit e42eef4ba388 ("KVM: add X86_LOCAL_APIC dependency").

Suggested-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Message-Id: <20210518144339.1987982-3-vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/vmx/capabilities.h