Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753341AbbKQNuo (ORCPT ); Tue, 17 Nov 2015 08:50:44 -0500 Received: from mga01.intel.com ([192.55.52.88]:38067 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751803AbbKQNum (ORCPT ); Tue, 17 Nov 2015 08:50:42 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,307,1444719600"; d="scan'208";a="822159701" From: Alexander Shishkin To: Arnd Bergmann , Greg Kroah-Hartman Cc: linux-arm-kernel@lists.infradead.org, Mathieu Poirier , linux-kernel@vger.kernel.org Subject: Re: [PATCH] stm: select CONFIG_SRCU In-Reply-To: <12747713.N26XusNZpW@wuerfel> References: <12747713.N26XusNZpW@wuerfel> User-Agent: Notmuch/0.21 (http://notmuchmail.org) Emacs/24.5.1 (x86_64-pc-linux-gnu) Date: Tue, 17 Nov 2015 15:48:32 +0200 Message-ID: <877flgg2j3.fsf@ashishki-desk.ger.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1025 Lines: 24 Arnd Bergmann writes: > The newly added STM code uses SRCU, but does not ensure that > this code is part of the kernel: > > drivers/built-in.o: In function `stm_source_link_show': > include/linux/srcu.h:221: undefined reference to `__srcu_read_lock' > include/linux/srcu.h:238: undefined reference to `__srcu_read_unlock' > drivers/built-in.o: In function `stm_source_link_drop': > include/linux/srcu.h:221: undefined reference to `__srcu_read_lock' > include/linux/srcu.h:238: undefined reference to `__srcu_read_unlock' > > This adds a Kconfig 'select' statement like all the other SRCU using > drivers have. > > Signed-off-by: Arnd Bergmann > Fixes: 7bd1d4093c2f ("stm class: Introduce an abstraction for System Trace Module devices") Thanks! -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/