From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D9CD8C433EF for ; Thu, 7 Apr 2022 08:47:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=eN/LYfZFffVPF6OldK3V1msTzl7W67kq7rhooSMRvZU=; b=Mpss5DodDwhSiv S2iUXNKa8BMgek1NkiM2pS1IOVzlHNoPhQ2dRiW9xqglpwj04AdI4lXyryaDyWTJnuSWSVfXCoM53 sztUKH7SFsR1uuBeySqhmRMC1V5eFqF5nA/I2v34K5ZyTRp0bFlD+F8hMC+/EEMo4bLnpKo4I4eKF CBrclh98GWwF7nx4rUZS5tIHzracQVlSEKNRYv8WEvamppmH3rUFHndGiQD5hSiOjacfLGvH8RqYy euPlDa4nmcEgR/eKtk7bxBHiO9GdakrZCgE4iZOKqdZWmkxG6zdS4fsjzV7KlJbq2dM34oIEQtdOH hvELjhETzp/MSzpUjARA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ncNmG-00AXmX-Go; Thu, 07 Apr 2022 08:46:05 +0000 Received: from muru.com ([72.249.23.125]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ncNIu-00AIpY-DL for linux-arm-kernel@lists.infradead.org; Thu, 07 Apr 2022 08:15:47 +0000 Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 9A61F8125; Thu, 7 Apr 2022 08:13:19 +0000 (UTC) Date: Thu, 7 Apr 2022 11:15:40 +0300 From: Tony Lindgren To: Daniel Lezcano Cc: Thomas Gleixner , linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Keerthy , Nishanth Menon , Vignesh Raghavendra , Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org Subject: Re: [PATCH 2/4] clocksource/drivers/timer-ti-dm: Update defines for am6 for inline functions Message-ID: References: <20220407071006.37031-1-tony@atomide.com> <20220407071006.37031-2-tony@atomide.com> <9671f0a5-6860-8a75-d65e-345ce890cd88@linaro.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <9671f0a5-6860-8a75-d65e-345ce890cd88@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220407_011544_532526_851AA234 X-CRM114-Status: GOOD ( 11.45 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org * Daniel Lezcano [220407 08:01]: > On 07/04/2022 09:10, Tony Lindgren wrote: > > @@ -251,7 +251,8 @@ int omap_dm_timers_active(void); > > * The below are inlined to optimize code size for system timers. Other code > > * should not need these at all. > > */ > > -#if defined(CONFIG_ARCH_OMAP1) || defined(CONFIG_ARCH_OMAP2PLUS) > > +#if defined(CONFIG_ARCH_OMAP1) || defined(CONFIG_ARCH_OMAP2PLUS) || \ > > + defined(CONFIG_ARCH_K3) > > Why not replace the above by CONFIG_OMAP_DM_TIMER ? Hmm that's a good question for why it was not that way earlier. This series changes things for tristate "OMAP dual-mode timer driver" if ARCH_K3 || COMPILE_TEST though. So the inline stubs are still needed for COMPILE_TEST it seems. Regards, Tony _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel