From patchwork Thu Oct 31 16:10:19 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Soren Brinkmann X-Patchwork-Id: 3121211 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 2AD189F2D6 for ; Thu, 31 Oct 2013 16:23:00 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 06D5920157 for ; Thu, 31 Oct 2013 16:22:59 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BAD9E20445 for ; Thu, 31 Oct 2013 16:22:57 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Vburk-0002aH-7V; Thu, 31 Oct 2013 16:13:01 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Vbur8-0004RQ-Mm; Thu, 31 Oct 2013 16:12:22 +0000 Received: from mail-pa0-x22d.google.com ([2607:f8b0:400e:c03::22d]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Vbuqk-0004Lp-GD for linux-arm-kernel@lists.infradead.org; Thu, 31 Oct 2013 16:11:59 +0000 Received: by mail-pa0-f45.google.com with SMTP id kp14so2724055pab.18 for ; Thu, 31 Oct 2013 09:11:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=yKzALX1RV0t5MKeaLDn5RqHow+20A4cgKZtJFNmsSdo=; b=bZV0U34wUtnKoi9x+cEOESPdQAaKdMs62cPhvIPvTX6A6ufbeDme6UDhRis403LBUW +bImdXbG0nGXnMamgGpFvojBGuZxhYWdhDRvlPyNG1Nw9U8naa6svD8QUe0d6sCr7oeU WWXacK0VbZHN0BbnRiKMn4/eAN3gr8q/qTy+/WEvIXZAhzBPyx1AQ2OONsROINGhy9eK hGZh5JgQG6LtO7NY0Bdompc/67pCzu5Uvf46QhCkAl0eXaLItQi0GxJkTwKDDSv9/Wrx UMH+DNo3pg12EJxtqb9dPM/lLH10zMBkch1fAnAXFWNRfD+GJ6xYB06BUZCbV5/sNFc/ ulWQ== X-Received: by 10.66.165.106 with SMTP id yx10mr2642521pab.159.1383235876996; Thu, 31 Oct 2013 09:11:16 -0700 (PDT) Received: from localhost ([149.199.62.254]) by mx.google.com with ESMTPSA id iu7sm5060238pbc.45.2013.10.31.09.11.15 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 31 Oct 2013 09:11:16 -0700 (PDT) From: Soren Brinkmann To: Michal Simek , Russell King Subject: [PATCH 6/6] arm: zynq: headsmp: Move .glbl out of actual code Date: Thu, 31 Oct 2013 09:10:19 -0700 Message-Id: <1383235819-2552-7-git-send-email-soren.brinkmann@xilinx.com> X-Mailer: git-send-email 1.8.4.1 In-Reply-To: <1383235819-2552-1-git-send-email-soren.brinkmann@xilinx.com> References: <1383235819-2552-1-git-send-email-soren.brinkmann@xilinx.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131031_121158_669531_FFDC5567 X-CRM114-Status: UNSURE ( 9.83 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, =?UTF-8?q?S=C3=B6ren=20Brinkmann?= X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Move the .glbl lines exporting symbols to the top of the file and out of the actual code, in order to make the code more readable. Signed-off-by: Soren Brinkmann --- arch/arm/mach-zynq/headsmp.S | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-zynq/headsmp.S b/arch/arm/mach-zynq/headsmp.S index 57a32869f0aa..12d1b40c7d78 100644 --- a/arch/arm/mach-zynq/headsmp.S +++ b/arch/arm/mach-zynq/headsmp.S @@ -9,14 +9,15 @@ #include #include +.globl zynq_secondary_trampoline_jump +.globl zynq_secondary_trampoline_end + ENTRY(zynq_secondary_trampoline) ldr r0, [pc] bx r0 -.globl zynq_secondary_trampoline_jump zynq_secondary_trampoline_jump: /* Space for jumping address */ .word /* cpu 1 */ -.globl zynq_secondary_trampoline_end zynq_secondary_trampoline_end: ENDPROC(zynq_secondary_trampoline)