Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1708864
| From | tip-bot for Masami Hiramatsu <tipbot@zytor.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [tip:perf/core] xtensa: Mark _stext and _end as char-arrays, not single char variables |
| Date | 2017-08-10 18:50 +0200 |
| Message-ID | <ucYOK-8aT-33@gated-at.bofh.it> (permalink) |
| References | <uaedk-1Ug-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Commit-ID: 1824436262b2f43a46051a4958e2dd58a9d9aadf Gitweb: http://git.kernel.org/tip/1824436262b2f43a46051a4958e2dd58a9d9aadf Author: Masami Hiramatsu <mhiramat@kernel.org> AuthorDate: Thu, 3 Aug 2017 11:36:09 +0900 Committer: Ingo Molnar <mingo@kernel.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@kernel.org> Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com> Cc: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com> Cc: Chris Zankel <chris@zankel.net> Cc: David S . Miller <davem@davemloft.net> Cc: Francis Deslauriers <francis.deslauriers@efficios.com> Cc: Jesper Nilsson <jesper.nilsson@axis.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Max Filippov <jcmvbkbc@gmail.com> Cc: Mikael Starvik <starvik@axis.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Yoshinori Sato <ysato@users.sourceforge.jp> Cc: linux-arch@vger.kernel.org Cc: linux-cris-kernel@axis.com Cc: mathieu.desnoyers@efficios.com Link: http://lkml.kernel.org/r/150172775958.27216.12951305461398200544.stgit@devbox Signed-off-by: Ingo Molnar <mingo@kernel.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),
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH -tip v9 0/5] kprobes related bugfix Masami Hiramatsu <mhiramat@kernel.org> - 2017-08-03 04:40 +0200
[PATCH -tip v9 3/5] cris: mark _stext and _end as char-arrays, not single char Masami Hiramatsu <mhiramat@kernel.org> - 2017-08-03 04:40 +0200
[tip:perf/core] cris: Mark _stext and _end as char-arrays, not single char variables tip-bot for Masami Hiramatsu <tipbot@zytor.com> - 2017-08-10 18:50 +0200
[PATCH -tip v9 2/5] xtensa: mark _stext and _end as char-arrays, not single char Masami Hiramatsu <mhiramat@kernel.org> - 2017-08-03 04:40 +0200
[tip:perf/core] xtensa: Mark _stext and _end as char-arrays, not single char variables tip-bot for Masami Hiramatsu <tipbot@zytor.com> - 2017-08-10 18:50 +0200
[PATCH -tip v9 1/5] h8300: mark _stext and _etext as char-arrays, not single char Masami Hiramatsu <mhiramat@kernel.org> - 2017-08-03 04:40 +0200
[tip:perf/core] h8300: Mark _stext and _etext as char-arrays, not single char variables tip-bot for Masami Hiramatsu <tipbot@zytor.com> - 2017-08-10 18:50 +0200
[PATCH -tip v9 4/5] irq: Make irqentry text section unconditional Masami Hiramatsu <mhiramat@kernel.org> - 2017-08-03 04:40 +0200
[tip:perf/core] irq: Make the irqentry text section unconditional tip-bot for Masami Hiramatsu <tipbot@zytor.com> - 2017-08-10 18:50 +0200
[PATCH -tip v9 5/5] [BUGFIX] kprobes/x86: Do not jump-optimize kprobes on irq entry code Masami Hiramatsu <mhiramat@kernel.org> - 2017-08-03 04:50 +0200
[tip:perf/core] kprobes/x86: Do not jump-optimize kprobes on irq entry code tip-bot for Masami Hiramatsu <tipbot@zytor.com> - 2017-08-10 18:50 +0200
csiph-web