Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Masami Hiramatsu and committed by
Ingo Molnar
18244362 b4464bf9

+3 -3
+3 -3
arch/xtensa/kernel/setup.c
··· 273 273 * Initialize system. Setup memory and reserve regions. 274 274 */ 275 275 276 - extern char _end; 277 - extern char _stext; 276 + extern char _end[]; 277 + extern char _stext[]; 278 278 extern char _WindowVectors_text_start; 279 279 extern char _WindowVectors_text_end; 280 280 extern char _DebugInterruptVector_literal_start; ··· 333 333 } 334 334 #endif 335 335 336 - mem_reserve(__pa(&_stext), __pa(&_end)); 336 + mem_reserve(__pa(_stext), __pa(_end)); 337 337 338 338 #ifdef CONFIG_VECTORS_OFFSET 339 339 mem_reserve(__pa(&_WindowVectors_text_start),