[RFC PATCH] x86/kvm: perf_ext_supported() can be static
From: kbuild test robot
Date: Fri Feb 02 2018 - 15:04:10 EST
Fixes: 60e6688e74ee ("x86/kvm: Expose AMD Core Perf Extension flag to guests")
Signed-off-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>
---
cpuid.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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);
}