From patchwork Thu May 19 05:10:13 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 796172 Received: from bombadil.infradead.org (bombadil.infradead.org [18.85.46.34]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p4J559CB006576 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 19 May 2011 05:05:30 GMT Received: from canuck.infradead.org ([2001:4978:20e::1]) by bombadil.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QMvOI-0007G4-DB; Thu, 19 May 2011 05:03:18 +0000 Received: from localhost ([127.0.0.1] helo=canuck.infradead.org) by canuck.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1QMvOG-0000r1-N5; Thu, 19 May 2011 05:03:16 +0000 Received: from mail-pv0-f177.google.com ([74.125.83.177]) by canuck.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QMvOC-0000qW-LL for linux-arm-kernel@lists.infradead.org; Thu, 19 May 2011 05:03:13 +0000 Received: by pvh11 with SMTP id 11so1204610pvh.36 for ; Wed, 18 May 2011 22:03:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:date:message-id:subject; bh=cKXhz0N4oYvOiBQlFBISEN2NcrUUaZLWzYO26C1Kfbc=; b=KXTpDurYMMwwkPQADhHqUDWg/2LYOxkYnFM/DrjIMtQSWEEAgk90IdEviO8lmcd66N rPFarWSVjbj0O89ZzHchTfgfMypc/FrEZp3qE/emQm8zRAdaWlDjPC+76ft5NParQd6o qLq0+gvRJL+t6u3Z64sZ/QVFGXsDI0eGSfcaA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:date:message-id:subject; b=giVJmikvVrEOyEDoQoczpTJusXO+E7tMj8kcEuvN6FFhJu18rt/Lq5BHH0TS5FXFnV LQ+KS5sxg2swsYIXqnkMhAS8gMNJc/egAnm8KQb0R2HDMF+Hnjcu1HGrVtCES4MJfDSV Mo+UMSID2lw1zBrkEoUt57nl+6kg4GGUBMv+o= Received: by 10.68.39.133 with SMTP id p5mr4328669pbk.243.1305781390410; Wed, 18 May 2011 22:03:10 -0700 (PDT) Received: from [127.0.0.1] (49.14.32.202.bf.2iij.net [202.32.14.49]) by mx.google.com with ESMTPS id f4sm1511251pbd.13.2011.05.18.22.03.07 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 18 May 2011 22:03:08 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Date: Thu, 19 May 2011 14:10:13 +0900 Message-Id: <20110519051013.9061.94877.sendpatchset@t400s> Subject: [PATCH] ARM: mach-shmobile: headsmp.S build fix X-CRM114-Version: 20090807-BlameThorstenAndJenny ( TRE 0.7.6 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20110519_010312_905365_7D4F8C05 X-CRM114-Status: UNSURE ( 9.94 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.8 (/) X-Spam-Report: SpamAssassin version 3.3.1 on canuck.infradead.org summary: Content analysis details: (-0.8 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [74.125.83.177 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is freemail (magnus.damm[at]gmail.com) -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.0 RFC_ABUSE_POST Both abuse and postmaster missing on sender domain 0.0 T_TO_NO_BRKTS_FREEMAIL T_TO_NO_BRKTS_FREEMAIL Cc: linux@arm.linux.org.uk, lethal@linux-sh.org, Magnus Damm , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Thu, 19 May 2011 05:05:43 +0000 (UTC) From: Magnus Damm Git commit f4117ac9e237b74afdf5e001d5ea26a4d15e9847 introduced PLAT_PHYS_OFFSET, but headsmp.S was left unchanged which results in a compile error: AS arch/arm/mach-shmobile/headsmp.o arch/arm/mach-shmobile/headsmp.S: Assembler messages: arch/arm/mach-shmobile/headsmp.S:27: Error: undefined symbol `secondary_startup' in operation arch/arm/mach-shmobile/headsmp.S:27: Error: undefined symbol `PHYS_OFFSET' in operation make[1]: *** [arch/arm/mach-shmobile/headsmp.o] Error 1 make[1]: *** Waiting for unfinished jobs.... Signed-off-by: Magnus Damm --- arch/arm/mach-shmobile/headsmp.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- 0001/arch/arm/mach-shmobile/headsmp.S +++ work/arch/arm/mach-shmobile/headsmp.S 2011-05-03 10:33:20.000000000 +0900 @@ -24,4 +24,4 @@ .align 12 ENTRY(shmobile_secondary_vector) ldr pc, 1f -1: .long secondary_startup - PAGE_OFFSET + PHYS_OFFSET +1: .long secondary_startup - PAGE_OFFSET + PLAT_PHYS_OFFSET