cris: Fix conflicting types for _etext, _edata, _end
"Linux Kernel Mailing List" <[email protected]>
| Newsgroups | gmane.linux.kernel.commits.head |
|---|---|
| Message-ID | <[email protected]> |
Web: https://git.kernel.org/torvalds/c/fd989db807a00d552ebf29d8ffb20c2ef04742da Commit: fd989db807a00d552ebf29d8ffb20c2ef04742da Parent: bebc6082da0a9f5d47a1ea2edc099bf671058bd4 Refname: refs/heads/master Author: Sergey Senozhatsky <[email protected]> AuthorDate: Fri Jan 5 11:47:44 2018 +0900 Committer: Jesper Nilsson <[email protected]> CommitDate: Sat Jan 13 22:42:09 2018 +0100 cris: Fix conflicting types for _etext, _edata, _end Include asm/sections.h header which contains the correct types for _etext, _edata and _end - char arrays. Signed-off-by: Sergey Senozhatsky <[email protected]> Signed-off-by: Jesper Nilsson <[email protected]> --- 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, }; -- To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html