Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp717691ybm; Thu, 28 May 2020 13:19:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy1RrZTC+bLDBBKEK7KQNEoe/88mFml01rUWRB6adcuZAuaj6w+lCQMkSKGw0Oiyjy/ZsVb X-Received: by 2002:a05:6402:1b0f:: with SMTP id by15mr4807582edb.316.1590697190976; Thu, 28 May 2020 13:19:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590697190; cv=none; d=google.com; s=arc-20160816; b=od05sqQVK76Xsf31pYHxW+Wo5sKj9MVjr7zEkLPRJP41ExjjSQLZ42drtjWk4tg4qf 6FdAhQb9C1YMs4FjktRUGHGst9eiwrF3NmLxcPHRoBj4T2OTAsjg6muu22Uz94Mc3BAW +OpcjSKyTlm+OITHYSFxJmbwNeuK95x/j8bAR6fd370TK7SZz8JHiiMsfezaIFFwgsPl 44Xt1t/AeuZuf3DEZoQb5ytuCAVTTk5quOz8YOUX0IXMc2n7sR90fbjn5dNkms51O31B J3P8hjU/lZuDnStq+G59P8MDsRAvPrkzC1fcXx80FlERfrfE0qU+6YpfXubZvxEqigX1 iF5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:from:subject:mime-version :message-id:date:dkim-signature; bh=GQWu2f9NZklLdzS60+6PL6niL+TWcaL7F+qGquV9Sfs=; b=yetYNQrryG6uBhowjH5sYQl0l2HAmZfCyhuIf9ZZxrUQ886Q1J+7o+FIW4YgeNitTg 09c5HnGiBYJckxFIhz9KZUYthkAP4YF+ZCqwEZjk/56Rh8bUmXylkjMP8aO3dNrnyJ58 5O4W24kcd+psry3qTxFW62s7u4arl9oUiHX89KNEaHRFZNHjUsMwnMmovXRFAfanGS5F 2M4DfAk9uitMSBEdb7tWzjpMh7KvXek05Om3yA/cL5UQcm0u+6B1G/qtLqbT8W/Swz6k KadTjyGwnTTJ1hVI8ltdgwY6IQfMvZg8nl2Uwq1yqG8HXorAUwRd+NY3oBjH88Dx3tfv 173A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=FKHrqtqa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w5si4441763ejq.420.2020.05.28.13.19.27; Thu, 28 May 2020 13:19:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=FKHrqtqa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2407207AbgE1UQf (ORCPT + 99 others); Thu, 28 May 2020 16:16:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2407201AbgE1UQ2 (ORCPT ); Thu, 28 May 2020 16:16:28 -0400 Received: from mail-qv1-xf4a.google.com (mail-qv1-xf4a.google.com [IPv6:2607:f8b0:4864:20::f4a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA8BDC08C5C6 for ; Thu, 28 May 2020 13:16:26 -0700 (PDT) Received: by mail-qv1-xf4a.google.com with SMTP id q10so309164qvs.16 for ; Thu, 28 May 2020 13:16:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:message-id:mime-version:subject:from:to:cc; bh=GQWu2f9NZklLdzS60+6PL6niL+TWcaL7F+qGquV9Sfs=; b=FKHrqtqa3eX/hMTxYWddZEa9nZwZ+EgoSp0U4z1O+zsruv/JzsOkJxkcT7AwTLQuSm DB7/datS6wCAPgguo/zzbtCmiqJS0vH92GN6Bw47Rv7Tg5XnblrXysvgqlU1S4M1VSnX pGl3DHxi/TuXF793E99WTgjyfHY3PrgLh04mXcNqPE40Iqww31qL2K6Iqk/Fn6t0pwnN y2YQluplGgt51z/TEivFDgPviY2Czk9fgtJd0cw95n3eAG9CJf9jTlXlwS1uoSp9U0SS lWUVJkPdHRtbaPedqumv4WF6RqbsBsfaxnORdbtgwK8uW39LrGSYSB5UUTQLrCTUG/C0 y9ww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:mime-version:subject:from:to:cc; bh=GQWu2f9NZklLdzS60+6PL6niL+TWcaL7F+qGquV9Sfs=; b=Fl2LmVdNqNBLyGFX06To3q5QGG36xlzPK81GVW9kd9spfhpig1ursJ+XQo267ZN2DN YQmUeLNV8CeE9h8nMUGr0uB7QQKdyGxAP0QfE5UTEs494bJb/1V4arcxtT6gnJS/XZZb xsUNwDuhVDlJCJSoloUdEcIjx9e/sneowh47Xhe7IZTTvu/PnPANNZPlapmlt/wG2hsu ifgIX6AgLpyEIsFPClDqMDqmn5gr5EdSy44ZhZhe4uJwFOA83WL6u+D+YpwUvB5xILnm fFLxQeAd38R/tZn/Yw+Pcr5pKt4UA6J3Sfz4G2bwW/hrusXCaUwswzkHqiYgoUZb3zYy W9CA== X-Gm-Message-State: AOAM530EC/+JTnj56SlXWxzASTNOfGsqMUq+nQyekm74fjcD/B7HGzkW oQWcE7EVl5rIUDwJDe/0gWI1+I44rpDB41ad2tG1l3x8MZkZ074WalolHUAzVq07kVBUJcS8o9t /IsVwC7Et2P9tjs4oG4mjI+9iCOfxNPxCamqFF6Iw8olK7OqtU4sW13W2cVELmnjxH6f4m4hw X-Received: by 2002:a05:6214:11f0:: with SMTP id e16mr4834216qvu.37.1590696985936; Thu, 28 May 2020 13:16:25 -0700 (PDT) Date: Thu, 28 May 2020 13:16:14 -0700 Message-Id: <20200528201614.250182-1-eranian@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.27.0.rc2.251.g90737beb825-goog Subject: [PATCH] perf/x86/rapl: fix rapl config variable bug From: Stephane Eranian To: linux-kernel@vger.kernel.org Cc: peterz@infradead.org, mingo@elte.hu, irogers@google.com, kim.phillips@amd.com, jolsa@redhat.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch fixes a bug introduced by: commit 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 --- arch/x86/events/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/events/Makefile b/arch/x86/events/Makefile index 12c42eba77ec3..9933c0e8e97a9 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/ -- 2.27.0.rc2.251.g90737beb825-goog