[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tip-b4464bf977004832f63f31c015751c049bc47dde@git.kernel.org>
Date: Thu, 10 Aug 2017 09:35:13 -0700
From: tip-bot for Masami Hiramatsu <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: davem@...emloft.net, torvalds@...ux-foundation.org,
mhiramat@...nel.org, mingo@...nel.org, chris@...kel.net,
hpa@...or.com, ysato@...rs.sourceforge.jp,
linux-kernel@...r.kernel.org, jesper.nilsson@...s.com,
francis.deslauriers@...icios.com, anil.s.keshavamurthy@...el.com,
peterz@...radead.org, ananth@...ibm.com, tglx@...utronix.de,
starvik@...s.com, jcmvbkbc@...il.com
Subject: [tip:perf/core] h8300: Mark _stext and _etext as char-arrays, not
single char variables
Commit-ID: b4464bf977004832f63f31c015751c049bc47dde
Gitweb: http://git.kernel.org/tip/b4464bf977004832f63f31c015751c049bc47dde
Author: Masami Hiramatsu <mhiramat@...nel.org>
AuthorDate: Thu, 3 Aug 2017 11:35:04 +0900
Committer: Ingo Molnar <mingo@...nel.org>
CommitDate: Thu, 10 Aug 2017 16:28:52 +0200
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@...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/150172769415.27216.12021110228384155707.stgit@devbox
Signed-off-by: Ingo Molnar <mingo@...nel.org>
---
arch/h8300/include/asm/traps.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/h8300/include/asm/traps.h b/arch/h8300/include/asm/traps.h
index 15e70113..1c5a30e 100644
--- a/arch/h8300/include/asm/traps.h
+++ b/arch/h8300/include/asm/traps.h
@@ -33,9 +33,9 @@ extern unsigned long *_interrupt_redirect_table;
#define TRAP2_VEC 10
#define TRAP3_VEC 11
-extern char _start, _etext;
+extern char _start[], _etext[];
#define check_kernel_text(addr) \
- ((addr >= (unsigned long)(&_start)) && \
- (addr < (unsigned long)(&_etext)) && !(addr & 1))
+ ((addr >= (unsigned long)(_start)) && \
+ (addr < (unsigned long)(_etext)) && !(addr & 1))
#endif /* _H8300_TRAPS_H */
Powered by blists - more mailing lists