Skip to content

Commit c0d0ce9

Browse files
Xinghui Lisean-jc
authored andcommitted
KVM: SVM: Remove a duplicate definition of VMCB_AVIC_APIC_BAR_MASK
VMCB_AVIC_APIC_BAR_MASK is defined twice with the same value in svm.h, which is meaningless. Delete the duplicate one. Fixes: 3915035 ("KVM: x86: SVM: move avic definitions from AMD's spec to svm.h") Signed-off-by: Xinghui Li <korantli@tencent.com> Reviewed-by: Like Xu <likexu@tencent.com> Link: https://lore.kernel.org/r/20230403095200.1391782-1-korantwork@gmail.com [sean: tweak shortlog] Signed-off-by: Sean Christopherson <seanjc@google.com>
1 parent 0977cfa commit c0d0ce9

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

  • arch/x86/include/asm

arch/x86/include/asm/svm.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,6 @@ static_assert((AVIC_MAX_PHYSICAL_ID & AVIC_PHYSICAL_MAX_INDEX_MASK) == AVIC_MAX_
287287
static_assert((X2AVIC_MAX_PHYSICAL_ID & AVIC_PHYSICAL_MAX_INDEX_MASK) == X2AVIC_MAX_PHYSICAL_ID);
288288

289289
#define AVIC_HPA_MASK ~((0xFFFULL << 52) | 0xFFF)
290-
#define VMCB_AVIC_APIC_BAR_MASK 0xFFFFFFFFFF000ULL
291290

292291

293292
struct vmcb_seg {

0 commit comments

Comments
 (0)