From: Stephane Eranian Date: Thu, 28 May 2020 20:16:14 +0000 (-0700) Subject: perf/x86/rapl: Fix RAPL config variable bug X-Git-Tag: v5.15~3479^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=16accae3d97f97d7f61c4ee5d0002bccdef59088;p=platform%2Fkernel%2Flinux-starfive.git perf/x86/rapl: Fix RAPL config variable bug This patch fixes a bug introduced by: fd3ae1e1587d6 ("perf/x86/rapl: Move RAPL support to common x86 code") The Kconfig variable name was wrong. It was missing the CONFIG_ prefix. Signed-off-by: Stephane Eranian Signed-off-by: Ingo Molnar Tested-by: Kim Phillips Acked-by: Peter Zijlstra Link: https://lore.kernel.org/r/20200528201614.250182-1-eranian@google.com --- diff --git a/arch/x86/events/Makefile b/arch/x86/events/Makefile index 12c42eb..9933c0e 100644 --- a/arch/x86/events/Makefile +++ b/arch/x86/events/Makefile @@ -1,6 +1,6 @@ # SPDX-License-Identifier: GPL-2.0-only obj-y += core.o probe.o -obj-$(PERF_EVENTS_INTEL_RAPL) += rapl.o +obj-$(CONFIG_PERF_EVENTS_INTEL_RAPL) += rapl.o obj-y += amd/ obj-$(CONFIG_X86_LOCAL_APIC) += msr.o obj-$(CONFIG_CPU_SUP_INTEL) += intel/