[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180111141251.GA754@tigerII.localdomain>
Date: Thu, 11 Jan 2018 23:12:51 +0900
From: Sergey Senozhatsky <sergey.senozhatsky@...il.com>
To: Mikael Starvik <starvik@...s.com>,
Jesper Nilsson <jesper.nilsson@...s.com>
Cc: Fenghua Yu <fenghua.yu@...el.com>, linux-cris-kernel@...s.com,
linux-kernel@...r.kernel.org,
Sergey Senozhatsky <sergey.senozhatsky@...il.com>,
Sergey Senozhatsky <sergey.senozhatsky.work@...il.com>
Subject: Re: [PATCH] cris: Fix conflicting types for _etext, _edata, _end
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 <sergey.senozhatsky@...il.com>
Mikael, Jesper,
any opinions?
-ss
> ---
> 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 <linux/of_fdt.h>
> #include <asm/setup.h>
> #include <arch/system.h>
> +#include <asm/sections.h>
>
> /*
> * 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
>
Powered by blists - more mailing lists