diff mbox

[RFC] x86/kvm: perf_ext_supported() can be static

Message ID 20180202200302.GA27752@cairo (mailing list archive)
State New, archived
Headers show

Commit Message

kernel test robot Feb. 2, 2018, 8:03 p.m. UTC
Fixes: 60e6688e74ee ("x86/kvm: Expose AMD Core Perf Extension flag to guests")
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
 cpuid.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/arch/x86/kvm/cpuid.c b/arch/x86/kvm/cpuid.c
index 0c991c6a..5cfd3c2 100644
--- a/arch/x86/kvm/cpuid.c
+++ b/arch/x86/kvm/cpuid.c
@@ -55,7 +55,7 @@  bool kvm_mpx_supported(void)
 }
 EXPORT_SYMBOL_GPL(kvm_mpx_supported);
 
-bool perf_ext_supported(void)
+static bool perf_ext_supported(void)
 {
 	return boot_cpu_has(X86_FEATURE_PERFCTR_CORE);
 }