Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754523AbeAKOY1 (ORCPT + 1 other); Thu, 11 Jan 2018 09:24:27 -0500 Received: from bastet.se.axis.com ([195.60.68.11]:52610 "EHLO bastet.se.axis.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754156AbeAKOYZ (ORCPT ); Thu, 11 Jan 2018 09:24:25 -0500 Date: Thu, 11 Jan 2018 15:24:23 +0100 From: Jesper Nilsson To: Sergey Senozhatsky Cc: Mikael Starvik , Jesper Nilsson , Fenghua Yu , linux-cris-kernel@axis.com, linux-kernel@vger.kernel.org, Sergey Senozhatsky Subject: Re: [PATCH] cris: Fix conflicting types for _etext, _edata, _end Message-ID: <20180111142423.GA32368@axis.com> References: <20180105024744.17037-1-sergey.senozhatsky@gmail.com> <20180111141251.GA754@tigerII.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180111141251.GA754@tigerII.localdomain> User-Agent: Mutt/1.5.23 (2014-03-12) X-TM-AS-GCONF: 00 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Thu, Jan 11, 2018 at 11:12:51PM +0900, Sergey Senozhatsky wrote: > On (01/05/18 11:47), Sergey Senozhatsky wrote: > > Include asm/sections.h header which contains the correct > > types for _etext, _edata and _end - char arrays. > > > > Signed-off-by: Sergey Senozhatsky > > Mikael, Jesper, > > any opinions? This looks sane, and I can take it in the CRIS tree, allthough I'm currently pondering the future of the CRIS port, lack of time and active hardware are increasing problems. > -ss /Jesper > > --- > > arch/cris/kernel/setup.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/arch/cris/kernel/setup.c b/arch/cris/kernel/setup.c > > index 524d47501a23..1b61a7207afb 100644 > > --- a/arch/cris/kernel/setup.c > > +++ b/arch/cris/kernel/setup.c > > @@ -24,6 +24,7 @@ > > #include > > #include > > #include > > +#include > > > > /* > > * Setup options > > @@ -31,7 +32,6 @@ > > struct screen_info screen_info; > > > > extern int root_mountflags; > > -extern char _etext, _edata, _end; > > > > char __initdata cris_command_line[COMMAND_LINE_SIZE] = { 0, }; > > > > -- > > 2.15.1 > > /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nilsson@axis.com