From patchwork Wed Feb 10 15:14:21 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 102816 Delivered-To: patch@linaro.org Received: by 10.112.43.199 with SMTP id y7csp2702223lbl; Wed, 10 Feb 2016 07:15:32 -0800 (PST) X-Received: by 10.67.7.200 with SMTP id de8mr59288147pad.28.1455117301142; Wed, 10 Feb 2016 07:15:01 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 65si5692193pft.14.2016.02.10.07.15.00; Wed, 10 Feb 2016 07:15:01 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753195AbcBJPO7 (ORCPT + 30 others); Wed, 10 Feb 2016 10:14:59 -0500 Received: from mout.kundenserver.de ([212.227.17.10]:53144 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752707AbcBJPOy (ORCPT ); Wed, 10 Feb 2016 10:14:54 -0500 Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue101) with ESMTPA (Nemesis) id 0M57sc-1a5w4o1Rte-00zGZ7; Wed, 10 Feb 2016 16:14:28 +0100 From: Arnd Bergmann To: "Rafael J. Wysocki" , Viresh Kumar Cc: linux-arm-kernel@lists.infradead.org, Arnd Bergmann , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] cpufreq: select IRQ_WORK in Kconfig Date: Wed, 10 Feb 2016 16:14:21 +0100 Message-Id: <1455117265-3007562-1-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 2.7.0 X-Provags-ID: V03:K0:LR4TodCU1nILLE57lo9Wl6AYVoRiYaZ7h2x7s+C1UrBfG9Jt2Wl 3jQufygdBleav+CReLgY4GLf3R4cmHifnuKEZsVLXWyXzYS94GAn3st8Ut2CAPQPNuPdB9a 98l61xopAg998j2ZQsdhG+ZnBZZQG292MTz43u1wt5NBvwdFIhw+xdVKnvjfyxjsv01BA5M ImZsQURSkchESh8UxTzLg== X-UI-Out-Filterresults: notjunk:1; V01:K0:w62uJfajkY0=:zsM1xrpHt4P1Ern1Iw2anJ i5cYJA9Q/uOFqI0h8y5bkl7IlG6FCfBMe+1hA32bmVzMVfDbczK2+e6RD+57NWePqdSAcKTl1 Uhde7g0a6XnSyjh0+NFwr8drO5SMhVSA9s1Po8EilBt2cVDpIBMkHulSxxPUfavlx1yoWvnfm ReRoKDfSXjhZZoKM9+ALVExTn832Y38iFjl4UJdwHgVBsqQEmTfrWF9MQfzzf7B/WHQYYojBO yIeGeqghRsqye6Xk+FoXsEgA/Rbko6MMI4x1/Nk0BEBRhZFzpcSjDRKGKov8TAq2ZcNkqwy7V NYMVoDtIb04D+Pw3epRVJAC1D12DINQ5us2l0k9/uVKk2xaEE0HPaUoEkFBNAdSDKYfbvR9aY wtNbqE9NLJj5Zf421WQSEtCdT93La2Y1QABBHQkmecvqT1Iots9kykSxengwzg6AF9wL9KZRg kYZ7AHAk52EN89EH/LidOUAiGB5rGp4ThxjeI2FjXA5E4xnKQQ5vS52zfIbQZJ5V35SYjNE8n 8qOSjkWvn4sOwGiMf4d87rMrt5glIQJhykS7bgH1ryFCUKlBbNxDMoJumRYBt/qO95QQw546e DQLStMMe2o31ExsZZfIOOqP28AmZ9qIYYBV7qPxqS547Wir7AJPodiL6r2VkiE2E2/ds+nlBO YFf26bNmhBulry04u+2jnCcEHEQAJU1NEJW7VSdJmibL/U1yk7/yHadvQ+DnFzL0qvmk= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The cpufreq core code has started using the irq_work infrastructure, but that can be disabled in Kconfig, causing a link failure: drivers/cpufreq/cpufreq_governor.c: In function 'gov_queue_irq_work': drivers/cpufreq/cpufreq_governor.c:251:3: error: implicit declaration of function 'irq_work_queue_on' [-Werror=implicit-function-declaration] This adds an explicit 'select' to ensure it's always enabled. Signed-off-by: Arnd Bergmann Fixes: 0144fa03ef46 ("cpufreq: governor: Replace timers with utilization update callbacks") --- drivers/cpufreq/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.7.0 diff --git a/drivers/cpufreq/Kconfig b/drivers/cpufreq/Kconfig index 3050e8d48887..ca05037dd565 100644 --- a/drivers/cpufreq/Kconfig +++ b/drivers/cpufreq/Kconfig @@ -3,6 +3,7 @@ menu "CPU Frequency scaling" config CPU_FREQ bool "CPU Frequency scaling" select SRCU + select IRQ_WORK help CPU Frequency scaling allows you to change the clock speed of CPUs on the fly. This is a nice method to save power, because