From patchwork Thu May 2 15:16:18 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 2512711 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) by patchwork2.kernel.org (Postfix) with ESMTP id B4861DF215 for ; Thu, 2 May 2013 16:14:09 +0000 (UTC) Received: from merlin.infradead.org ([205.233.59.134]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UXvSb-0004y1-C2; Thu, 02 May 2013 15:30:17 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UXvHY-0002c0-5v; Thu, 02 May 2013 15:18:52 +0000 Received: from casper.infradead.org ([2001:770:15f::2]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UXvG8-0002PR-A9 for linux-arm-kernel@merlin.infradead.org; Thu, 02 May 2013 15:17:24 +0000 Received: from moutng.kundenserver.de ([212.227.126.186]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UXvFk-0000C9-38 for linux-arm-kernel@lists.infradead.org; Thu, 02 May 2013 15:17:04 +0000 Received: from wuerfel.lan (HSI-KBW-095-208-002-043.hsi5.kabel-badenwuerttemberg.de [95.208.2.43]) by mrelayeu.kundenserver.de (node=mreu4) with ESMTP (Nemesis) id 0MXSRF-1V4Dco3SPF-00WHjy; Thu, 02 May 2013 17:16:16 +0200 From: Arnd Bergmann To: linux-kernel@vger.kernel.org Subject: [PATCH, RFC 14/22] oprofile: always enable IRQ_WORK Date: Thu, 2 May 2013 17:16:18 +0200 Message-Id: <1367507786-505303-15-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1367507786-505303-1-git-send-email-arnd@arndb.de> References: <1367507786-505303-1-git-send-email-arnd@arndb.de> X-Provags-ID: V02:K0:VaKeZ7xEIWv4gBxy6AIUcdjaXoCiPq8C6L5rZ1CL2I9 PdabqNwPJqJ2YO8E9cpnTtAyEh6sSphEECVo70CWNes0yVkzPs r6NfrdatK/xuq7b3xR+g+sCyydZKzJDXD4YefEtSlXHJflFXeC 3zhACycbM3cb+DueQymFuRRD8l4+KibW7js5CSj8X03t4FaBac jMYtsqox8UEHOwZeIaESJUsWfwRoNhD9P7B5IpSipCOCs3KtzD UCyPpXO8rjIdqrdVpVRKOIM2R97MK8rnoAaQ43Olojpn2N1UQX +TRx1J9WKWCA+ESbAJZhd8vtbncDe0tzKeX5HZL7tB0SRR/PSA as+LWGrLYSGfX1ZGqTDNPUhF4n0PC3LNAgSsh9x7P X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130502_161700_313006_0E4766E2 X-CRM114-Status: GOOD ( 10.23 ) X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.3.2 on casper.infradead.org summary: Content analysis details: (-1.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [212.227.126.186 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: oprofile-list@lists.sf.net, Robert Richter , Arnd Bergmann , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org oprofile fails to build if CONFIG_IRQ_WORK is not already enabled, because of the dependency on the RING_BUFFER code that now uses the irq work library. kernel/built-in.o: In function `ring_buffer_unlock_commit': :(.text+0x5b8f0): undefined reference to `irq_work_queue' kernel/built-in.o: In function `ring_buffer_write': :(.text+0x5bd10): undefined reference to `irq_work_queue' Cc: Robert Richter Cc: oprofile-list@lists.sf.net Signed-off-by: Arnd Bergmann --- arch/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/Kconfig b/arch/Kconfig index a6b1056..434a8dc 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -8,6 +8,7 @@ config OPROFILE depends on HAVE_OPROFILE select RING_BUFFER select RING_BUFFER_ALLOW_SWAP + select IRQ_WORK help OProfile is a profiling system capable of profiling the whole system, include the kernel, kernel modules, libraries,