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.

h8300: Mark _stext and _etext as char-arrays, not single char variables

Mark _stext and _etext 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/150172769415.27216.12021110228384155707.stgit@devbox
Signed-off-by: Ingo Molnar <mingo@kernel.org>

authored by

Masami Hiramatsu and committed by
Ingo Molnar
b4464bf9 fdccc3fb

+3 -3
+3 -3
arch/h8300/include/asm/traps.h
··· 33 33 #define TRAP2_VEC 10 34 34 #define TRAP3_VEC 11 35 35 36 - extern char _start, _etext; 36 + extern char _start[], _etext[]; 37 37 #define check_kernel_text(addr) \ 38 - ((addr >= (unsigned long)(&_start)) && \ 39 - (addr < (unsigned long)(&_etext)) && !(addr & 1)) 38 + ((addr >= (unsigned long)(_start)) && \ 39 + (addr < (unsigned long)(_etext)) && !(addr & 1)) 40 40 41 41 #endif /* _H8300_TRAPS_H */