Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

Commit

Permalink
KVM: x86: Remove a spurious export of a static function
Browse files Browse the repository at this point in the history
commit 24885d1 upstream.

A recent change inadvertently exported a static function, which results
in modpost throwing a warning.  Fix it.

Fixes: cbbaa27 ("KVM: x86: fix presentation of TSX feature in ARCH_CAPABILITIES")
Signed-off-by: Sean Christopherson <[email protected]>
Cc: [email protected]
Reviewed-by: Jim Mattson <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
Sean Christopherson authored and gregkh committed Dec 13, 2019
1 parent 52c8b0c commit a4e2e22
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion arch/x86/kvm/x86.c
Original file line number Diff line number Diff line change
Expand Up @@ -1339,7 +1339,6 @@ static u64 kvm_get_arch_capabilities(void)
data &= ~ARCH_CAP_TSX_CTRL_MSR;
return data;
}
EXPORT_SYMBOL_GPL(kvm_get_arch_capabilities);

static int kvm_get_msr_feature(struct kvm_msr_entry *msr)
{
Expand Down

0 comments on commit a4e2e22

Please sign in to comment.