Messages in this thread Patch in this message |  | | Date | Sat, 3 Feb 2018 04:03:02 +0800 | From | kbuild test robot <> | Subject | [RFC PATCH] x86/kvm: perf_ext_supported() can be static |
| |
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 --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); }
|  |