Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753061AbdHJQkX (ORCPT ); Thu, 10 Aug 2017 12:40:23 -0400 Received: from terminus.zytor.com ([65.50.211.136]:54889 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752580AbdHJQkV (ORCPT ); Thu, 10 Aug 2017 12:40:21 -0400 Date: Thu, 10 Aug 2017 09:35:36 -0700 From: tip-bot for Masami Hiramatsu Message-ID: Cc: mingo@kernel.org, starvik@axis.com, chris@zankel.net, jcmvbkbc@gmail.com, peterz@infradead.org, hpa@zytor.com, ysato@users.sourceforge.jp, tglx@linutronix.de, torvalds@linux-foundation.org, ananth@in.ibm.com, mhiramat@kernel.org, anil.s.keshavamurthy@intel.com, davem@davemloft.net, jesper.nilsson@axis.com, linux-kernel@vger.kernel.org, francis.deslauriers@efficios.com Reply-To: francis.deslauriers@efficios.com, linux-kernel@vger.kernel.org, jesper.nilsson@axis.com, anil.s.keshavamurthy@intel.com, davem@davemloft.net, torvalds@linux-foundation.org, ananth@in.ibm.com, mhiramat@kernel.org, tglx@linutronix.de, hpa@zytor.com, ysato@users.sourceforge.jp, jcmvbkbc@gmail.com, peterz@infradead.org, starvik@axis.com, chris@zankel.net, mingo@kernel.org In-Reply-To: <150172775958.27216.12951305461398200544.stgit@devbox> References: <150172775958.27216.12951305461398200544.stgit@devbox> To: linux-tip-commits@vger.kernel.org Subject: [tip:perf/core] xtensa: Mark _stext and _end as char-arrays, not single char variables Git-Commit-ID: 1824436262b2f43a46051a4958e2dd58a9d9aadf X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2175 Lines: 58 Commit-ID: 1824436262b2f43a46051a4958e2dd58a9d9aadf Gitweb: http://git.kernel.org/tip/1824436262b2f43a46051a4958e2dd58a9d9aadf Author: Masami Hiramatsu AuthorDate: Thu, 3 Aug 2017 11:36:09 +0900 Committer: Ingo Molnar 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 Cc: Ananth N Mavinakayanahalli Cc: Anil S Keshavamurthy Cc: Chris Zankel Cc: David S . Miller Cc: Francis Deslauriers Cc: Jesper Nilsson Cc: Linus Torvalds Cc: Max Filippov Cc: Mikael Starvik Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: Yoshinori Sato 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 --- 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),