diff options
Diffstat (limited to 'arch/x86/kernel')
-rw-r--r-- | arch/x86/kernel/cpu/perf_counter.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/cpu/perf_counter.c b/arch/x86/kernel/cpu/perf_counter.c index 7d0f81dcb524..d6d6529349dd 100644 --- a/arch/x86/kernel/cpu/perf_counter.c +++ b/arch/x86/kernel/cpu/perf_counter.c | |||
@@ -997,6 +997,8 @@ void __init init_hw_perf_counters(void) | |||
997 | case X86_VENDOR_AMD: | 997 | case X86_VENDOR_AMD: |
998 | pmc_ops = pmc_amd_init(); | 998 | pmc_ops = pmc_amd_init(); |
999 | break; | 999 | break; |
1000 | default: | ||
1001 | return; | ||
1000 | } | 1002 | } |
1001 | if (!pmc_ops) | 1003 | if (!pmc_ops) |
1002 | return; | 1004 | return; |