[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tip-1824436262b2f43a46051a4958e2dd58a9d9aadf@git.kernel.org>
Date: Thu, 10 Aug 2017 09:35:36 -0700
From: tip-bot for Masami Hiramatsu <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: mingo@...nel.org, starvik@...s.com, chris@...kel.net,
jcmvbkbc@...il.com, peterz@...radead.org, hpa@...or.com,
ysato@...rs.sourceforge.jp, tglx@...utronix.de,
torvalds@...ux-foundation.org, ananth@...ibm.com,
mhiramat@...nel.org, anil.s.keshavamurthy@...el.com,
davem@...emloft.net, jesper.nilsson@...s.com,
linux-kernel@...r.kernel.org, francis.deslauriers@...icios.com
Subject: [tip:perf/core] xtensa: Mark _stext and _end as char-arrays, not
single char variables
Commit-ID: 1824436262b2f43a46051a4958e2dd58a9d9aadf
Gitweb: http://git.kernel.org/tip/1824436262b2f43a46051a4958e2dd58a9d9aadf
Author: Masami Hiramatsu <mhiramat@...nel.org>
AuthorDate: Thu, 3 Aug 2017 11:36:09 +0900
Committer: Ingo Molnar <mingo@...nel.org>
CommitDate: Thu, 10 Aug 2017 16:28:52 +0200
xtensa: Mark _stext and _end as char-arrays, not single char variables
Mark _stext and _end as character arrays instead of single
character variables, like include/asm-generic/sections.h does.
Signed-off-by: Masami Hiramatsu <mhiramat@...nel.org>
Cc: Ananth N Mavinakayanahalli <ananth@...ibm.com>
Cc: Anil S Keshavamurthy <anil.s.keshavamurthy@...el.com>
Cc: Chris Zankel <chris@...kel.net>
Cc: David S . Miller <davem@...emloft.net>
Cc: Francis Deslauriers <francis.deslauriers@...icios.com>
Cc: Jesper Nilsson <jesper.nilsson@...s.com>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Max Filippov <jcmvbkbc@...il.com>
Cc: Mikael Starvik <starvik@...s.com>
Cc: Peter Zijlstra <peterz@...radead.org>
Cc: Thomas Gleixner <tglx@...utronix.de>
Cc: Yoshinori Sato <ysato@...rs.sourceforge.jp>
Cc: linux-arch@...r.kernel.org
Cc: linux-cris-kernel@...s.com
Cc: mathieu.desnoyers@...icios.com
Link: http://lkml.kernel.org/r/150172775958.27216.12951305461398200544.stgit@devbox
Signed-off-by: Ingo Molnar <mingo@...nel.org>
---
arch/xtensa/kernel/setup.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/xtensa/kernel/setup.c b/arch/xtensa/kernel/setup.c
index 33bfa52..08175df 100644
--- a/arch/xtensa/kernel/setup.c
+++ b/arch/xtensa/kernel/setup.c
@@ -273,8 +273,8 @@ void __init init_arch(bp_tag_t *bp_start)
* Initialize system. Setup memory and reserve regions.
*/
-extern char _end;
-extern char _stext;
+extern char _end[];
+extern char _stext[];
extern char _WindowVectors_text_start;
extern char _WindowVectors_text_end;
extern char _DebugInterruptVector_literal_start;
@@ -333,7 +333,7 @@ void __init setup_arch(char **cmdline_p)
}
#endif
- mem_reserve(__pa(&_stext), __pa(&_end));
+ mem_reserve(__pa(_stext), __pa(_end));
#ifdef CONFIG_VECTORS_OFFSET
mem_reserve(__pa(&_WindowVectors_text_start),
Powered by blists - more mailing lists