From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751470AbeDEJHN (ORCPT ); Thu, 5 Apr 2018 05:07:13 -0400 Received: from mail-qk0-f194.google.com ([209.85.220.194]:40424 "EHLO mail-qk0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751278AbeDEJHL (ORCPT ); Thu, 5 Apr 2018 05:07:11 -0400 X-Google-Smtp-Source: AIpwx49vQsWp3JHAwNzy67jYsfk/DhFFCn4/0eCpkulSNEoGxHV2kddxu4u7AHWqcY9WHw0MXJFrStGjm8+7GPA30UI= MIME-Version: 1.0 In-Reply-To: <20180404171222.GH5700@atomide.com> References: <20180404102550.3692501-1-arnd@arndb.de> <20180404171222.GH5700@atomide.com> From: Arnd Bergmann Date: Thu, 5 Apr 2018 11:07:09 +0200 X-Google-Sender-Auth: gvlo9k48LOjyCGFbhXfQn-dIdXM Message-ID: Subject: Re: [PATCH] ARM: omap2: fix am43xx build without L2X0 To: Tony Lindgren Cc: Russell King , Dave Gerlach , Santosh Shilimkar , Linux ARM , linux-omap , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 4, 2018 at 7:12 PM, Tony Lindgren wrote: > * Arnd Bergmann [180404 10:27]: >> When CONFIG_CACHE_L2X0 is disabled, the am43xx specific suspend >> implemnentation fails to link: >> >> arch/arm/mach-omap2/sleep43xx.o: In function `get_l2cache_base': >> (.text+0x180): undefined reference to `omap4_get_l2cache_base' >> >> This adds an #ifdef protection around the code, like we do for am44xx. >> >> Fixes: 41d37e61372f ("ARM: OMAP2+: Introduce low-level suspend code for AM43XX") >> Signed-off-by: Arnd Bergmann > > Thanks, looks OK to me: > > Acked-by: Tony Lindgren Applied to next/soc. Arnd From mboxrd@z Thu Jan 1 00:00:00 1970 From: arnd@arndb.de (Arnd Bergmann) Date: Thu, 5 Apr 2018 11:07:09 +0200 Subject: [PATCH] ARM: omap2: fix am43xx build without L2X0 In-Reply-To: <20180404171222.GH5700@atomide.com> References: <20180404102550.3692501-1-arnd@arndb.de> <20180404171222.GH5700@atomide.com> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wed, Apr 4, 2018 at 7:12 PM, Tony Lindgren wrote: > * Arnd Bergmann [180404 10:27]: >> When CONFIG_CACHE_L2X0 is disabled, the am43xx specific suspend >> implemnentation fails to link: >> >> arch/arm/mach-omap2/sleep43xx.o: In function `get_l2cache_base': >> (.text+0x180): undefined reference to `omap4_get_l2cache_base' >> >> This adds an #ifdef protection around the code, like we do for am44xx. >> >> Fixes: 41d37e61372f ("ARM: OMAP2+: Introduce low-level suspend code for AM43XX") >> Signed-off-by: Arnd Bergmann > > Thanks, looks OK to me: > > Acked-by: Tony Lindgren Applied to next/soc. Arnd