Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932406AbbKLQch (ORCPT ); Thu, 12 Nov 2015 11:32:37 -0500 Received: from pandora.arm.linux.org.uk ([78.32.30.218]:51256 "EHLO pandora.arm.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932257AbbKLQcf (ORCPT ); Thu, 12 Nov 2015 11:32:35 -0500 Date: Thu, 12 Nov 2015 16:32:23 +0000 From: Russell King - ARM Linux To: Chris Brandt Cc: arnd@arndb.de, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sh@vger.kernel.org Subject: Re: [PATCH] ARM: xip: Use correct symbol for end of ROM marker Message-ID: <20151112163222.GK8644@n2100.arm.linux.org.uk> References: <1447251455-22731-1-git-send-email-chris.brandt@renesas.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1447251455-22731-1-git-send-email-chris.brandt@renesas.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1102 Lines: 27 On Wed, Nov 11, 2015 at 09:17:35AM -0500, Chris Brandt wrote: > diff --git a/include/asm-generic/sections.h b/include/asm-generic/sections.h > index b58fd66..195554d 100644 > --- a/include/asm-generic/sections.h > +++ b/include/asm-generic/sections.h > @@ -26,7 +26,7 @@ > * __ctors_start, __ctors_end > */ > extern char _text[], _stext[], _etext[]; > -extern char _data[], _sdata[], _edata[]; > +extern char _data[], _sdata[], _edata[], _edata_loc[]; It's not good practice to put non-generic symbols in generic header files. _edata_loc is an ARM specific symbol which no other architecture defines. Please create an ARM private asm/sections.h header, which should include the asm-generic version, and also declare the additional symbol. Thanks. -- FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up according to speedtest.net. -- 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/