Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1324208pxb; Sun, 22 Aug 2021 13:11:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwoUWO+t2fFcmECBBjbXZ2Dc0gsrLciFk2O2afhilCVPJfwcE1F0C1gjkkzwY246Lu0gNWG X-Received: by 2002:a92:6e12:: with SMTP id j18mr21489981ilc.243.1629663061362; Sun, 22 Aug 2021 13:11:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629663061; cv=none; d=google.com; s=arc-20160816; b=Edu8hikENy9ug+Q1M5Zc2PBt+LhUtk+s9yACx82Cni/ZV1pHt11UYuQi6tx9EnoDg2 kBZ6rFI1/5JR2nI0rBQGSZKPQlJ9mEgQ9hEEVpdSTlxgBLAwmmmpzx381eS1QKIR76W0 YX2T0Oyv/WkIZXE4kIgtkRQJkYrVhFQzZvN7JY29OnG/gmOqF4v1qMwZkxwnx0tcbT6N /oHll+LQj1XacIFUmBBPf1iTaVIw14H07KPpXZ8ptXIm4QQ+/f8bVZcu1jDV0SPoWj6D /GFgQ3ruEBkkgHknWsGvHWTG7XHrgH+K0zp5dxIXVU284bt4P2NVkLu6VqBUU1tNgy9O 99aA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:mime-version:subject:cc:to:from :sender:dkim-signature; bh=0xXGH7bWWYuv3ONKF+7+Rl/Qg0qZfUB/lDsOTynnxS8=; b=NtBlnqQpfsr0HSLGbeQ68x6oZdd8y2H+uhG76zVGN6cMVUYAa7HwBIsIjnOqBiX4xD XpQ49TJRhEpqKgx+4DaHIS9o5JaQ9Mhv1Zg9//bokbmT6NRyaGinhEYb2aDNzIxy2SIn T5RTuaJzkN4KNtlSf+0QpqS7mbQggMFnzzhwOaWml0S2ntnJR/G/r19NAVZn0RG1FGJ0 ayk6Mblq1/7/+pYoxYJszyD5r8e6HkD07O/QNOza7iG272yLYTwm+Su3sr90iv/ofZmw 8Rza45QhoS5Znzb+2kt9pCh+q2ddOVGhWezhSf7igVlqx8VwWGqTFTJAbvyVGvVwUFV5 FhOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@vt-edu.20150623.gappssmtp.com header.s=20150623 header.b=rWPCvG5d; 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=fail (p=NONE sp=NONE dis=NONE) header.from=vt.edu Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k20si12807382iog.64.2021.08.22.13.10.50; Sun, 22 Aug 2021 13:11:01 -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=@vt-edu.20150623.gappssmtp.com header.s=20150623 header.b=rWPCvG5d; 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=fail (p=NONE sp=NONE dis=NONE) header.from=vt.edu Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231750AbhHVUKr (ORCPT + 99 others); Sun, 22 Aug 2021 16:10:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36162 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229565AbhHVUKr (ORCPT ); Sun, 22 Aug 2021 16:10:47 -0400 Received: from mail-qt1-x832.google.com (mail-qt1-x832.google.com [IPv6:2607:f8b0:4864:20::832]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB452C061575 for ; Sun, 22 Aug 2021 13:10:05 -0700 (PDT) Received: by mail-qt1-x832.google.com with SMTP id g11so12177531qtk.5 for ; Sun, 22 Aug 2021 13:10:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vt-edu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:mime-version:date:message-id; bh=0xXGH7bWWYuv3ONKF+7+Rl/Qg0qZfUB/lDsOTynnxS8=; b=rWPCvG5dp4/QpXGPGvc4fE5lBwBu0Gs5A4VE4sztRp+5nTzTbsv/1nZWMjqWEM0JI+ Z4EgWPEpLCKJiR2qlsCJc/KxvbeyWHU2UjWFruAJOZXiSQdzv/2SQvpDDJnXsjturHCC EHoa9B4z2fmwz59dzWPegZBLrKmSBZvtseR00auN10QDRgDR8xZXndbvBLAg98rYzpr/ P2dfBlXZPnzLVQTGrRuB+ncArn+jTpTqJ8KwPnyEhUhf756mKXC4vheRMFuNELZfIM13 twIzKiAePnuKdKNFcNgUy9wxShuMbCU2e8ILI20+nawX6mfjt/eMpoVIqovSZTWlOkzk a2dQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:mime-version:date :message-id; bh=0xXGH7bWWYuv3ONKF+7+Rl/Qg0qZfUB/lDsOTynnxS8=; b=Iea6oWecJd6F3JpLIUS7Csrfu3PbzK38TrgUeOZcVUZN1992mtHM/RQkQ0uahGWzWu Dmpv4zIsY5TgeclEX7ihsKS95w3xiuugDNbKjdmCT0fuUiuoz9g6BrDpj3rSHwYwx7tN UtWftRdJkz03gS+BghS7xRzJZ/RDxlgEcHAXQBKrhxOEME8MS3B4HTu0nFG4l/Eclcwz ZUaXxLQk3PYIV3KnZi+rqiN1YSNWf1TWIm9PkbUOPjdIEjOOe1bOn6QGUq3U2Hr1bCL4 kcy5kGbhhYR39JudD+klpooETBvflzJG4W4AIfo5LadTUGjMpaBs1tlNDSKsqoFRnGL2 md/w== X-Gm-Message-State: AOAM531A+Gh9ia5Bb/Aw3Tzw/Xt42OLWw/AJn4RtOQHln611pP2CyFAK VcPX675bjg/eQzjRgZL9vso/PDWz62tgaQ== X-Received: by 2002:ac8:5386:: with SMTP id x6mr1746295qtp.378.1629663004907; Sun, 22 Aug 2021 13:10:04 -0700 (PDT) Received: from turing-police ([2601:5c0:c380:d61::359]) by smtp.gmail.com with ESMTPSA id m19sm5358904qtx.84.2021.08.22.13.10.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Aug 2021 13:10:04 -0700 (PDT) Sender: Valdis Kletnieks From: "Valdis =?utf-8?Q?Kl=c4=93tnieks?=" X-Google-Original-From: "Valdis =?utf-8?Q?Kl=c4=93tnieks?=" X-Mailer: exmh version 2.10.0-pre 07/05/2021 with nmh-1.7+dev To: Thara Gopinath , Greg Kroah-Hartman cc: Sudeep Holla , linux-kernel@vger.kernel.org Subject: [PATCH] cpufreq: qcom-cpufreq-hw: Fix 'make allmodconfig' build Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 22 Aug 2021 16:10:03 -0400 Message-ID: <438052.1629663003@turing-police> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit 86afc1df661a adds a reference to a symbol that doesn't have an EXPORT_SYMBOL, which fails if qcom-cpufreq-hw is built as a module. ERROR: modpost: "topology_set_thermal_pressure" [drivers/cpufreq/qcom-cpufreq-hw.ko] undefined! Add the missing EXPORT_SYMBOL. Fixes: 86afc1df661a ("cpufreq: qcom-cpufreq-hw: Add dcvs interrupt support") Signed-off-by: Valdis Kletnieks --- diff --git a/drivers/base/arch_topology.c b/drivers/base/arch_topology.c index 921312a8d957..fbc39ca67124 100644 --- a/drivers/base/arch_topology.c +++ b/drivers/base/arch_topology.c @@ -165,6 +165,7 @@ void topology_set_thermal_pressure(const struct cpumask *cpus, for_each_cpu(cpu, cpus) WRITE_ONCE(per_cpu(thermal_pressure, cpu), th_pressure); } +EXPORT_SYMBOL(topology_set_thermal_pressure); static ssize_t cpu_capacity_show(struct device *dev, struct device_attribute *attr,