From patchwork Mon Sep 12 15:39:58 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 101804 Delivered-To: patch@linaro.org Received: by 10.140.106.72 with SMTP id d66csp913178qgf; Mon, 12 Sep 2016 08:41:35 -0700 (PDT) X-Received: by 10.66.131.111 with SMTP id ol15mr34599967pab.105.1473694895482; Mon, 12 Sep 2016 08:41:35 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q189si22167022pfq.189.2016.09.12.08.41.35; Mon, 12 Sep 2016 08:41:35 -0700 (PDT) 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 S934267AbcILPlU (ORCPT + 27 others); Mon, 12 Sep 2016 11:41:20 -0400 Received: from mout.kundenserver.de ([212.227.126.133]:50658 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933404AbcILPlQ (ORCPT ); Mon, 12 Sep 2016 11:41:16 -0400 Received: from wuerfel.lan. ([78.43.20.153]) by mrelayeu.kundenserver.de (mreue005) with ESMTPA (Nemesis) id 0MOVaj-1beGHU0bIb-005rbT; Mon, 12 Sep 2016 17:40:41 +0200 From: Arnd Bergmann To: Andrew Morton Cc: Peter Zijlstra , Akash Goel , Tom Zanussi , Arnd Bergmann , linux-kernel@vger.kernel.org Subject: [PATCH] relay: select CONFIG_IRQ_WORK Date: Mon, 12 Sep 2016 17:39:58 +0200 Message-Id: <20160912154035.3222156-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:zfPGJyPDszbpxBDTHMTFTwQiSdo7ZdBjZHMZQtU3CBiiMoTw6A7 CbAlSmUAkP7Ok5XLpu68Ia8BizNx4/n7hjauJXP7JuiJO9/+5vTCL+3bAYUdewnN9j0Wa6z kplA/Vj4DQRtCHErCgIeska9A8KRciNm1lTVqyM6W+FTRHV8fs9pb/XOu5o9G/wRaWrD/Th FdzRiUfX7hiGKl3uDJA1w== X-UI-Out-Filterresults: notjunk:1; V01:K0:9lHWXrQX7YE=:yuydVJZbpCIJcz7n+MyFpZ cr9d9gugJJlqeaQpOAs6vVPGtyCoxXthEFBA9Miigg9ciLwIVpEVWpSRbuc/NxXV5QNCOhro7 sOHfbD9Krn4p+jZhAvhH8v3Kn4uamxIWL2njulW2hBg4h3zNpo+aESJYDe9AuM5A6VG/Kf/su pA+4IH0SnEgEwzP51qSsVPzMNjQKLaf67qQufexkCRs8nHo3p4a7UqUX44x8vf/3B++COaCVp jedJh/AZRcbJF3uoFnOUVSHm5zyZJNEHkTbKa1QYoQIEIFBAoZ1Zv38Ojc+ib8C0/PPBfdYQT 8IY/C34Wu1odtEVaAOEYnUv5Go66sqOjy/Ty9pFdwMVyHsN1cMCxPULUnQ4ltLM0abFq45QbY MH3cEd0JVusU+Fowx6hkzaSJ10jzQZNZVlhF1I91Az5tZovTUBm55wWIFl68UWPH+1Y/QLFqT bYb+2G111fDKtFS+KsB4nDUjeVhsIEXNhsdHmCW+d+IqU4Pkd5Yihe/YuZC4s7z3TalYgCYMo wdv/zaFhsrW+h4jhfXHx6n29ieNay5FEsDmnDtL6CUwtal0ctTeCiR8mGSNaoSWFB/0H3DUam OsV6Uo/w1p015h6xLhjnZGAi04XhL4utdtXfPie6tDlOTKXx90RgXeg0WDmIjWRMlDoQonBT+ LjE4sbT+JJmnq72dNZLt5mxCFXeiK589kNjhnQXPfRNzTC4mt/vOXkg/h+9zrwQByU9s= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The relay code was changed to use irq_work, and it now fails to build if that is disabled: kernel/relay.o: In function `__relay_reset': relay.c:(.text.__relay_reset+0xb0): undefined reference to `irq_work_sync' kernel/relay.o: In function `relay_close_buf': relay.c:(.text.relay_close_buf+0x14): undefined reference to `irq_work_sync' kernel/relay.o: In function `relay_switch_subbuf': This adds the necessary Kconfig select statement. Signed-off-by: Arnd Bergmann Fixes: c37d49250a7b ("relay: Use irq_work instead of plain timer for deferred wakeup") --- init/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.9.0 diff --git a/init/Kconfig b/init/Kconfig index 3a00753bc38e..602c42bf1d30 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -1276,6 +1276,7 @@ config SYSFS_DEPRECATED_V2 config RELAY bool "Kernel->user space relay support (formerly relayfs)" + select IRQ_WORK help This option enables support for relay interface support in certain file systems (such as debugfs).