All of lore.kernel.org
 help / color / mirror / Atom feed
From: Magnus Damm <magnus.damm@gmail.com>
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: mach-shmobile: Clean up headsmp.S
Date: Mon, 20 Dec 2010 11:04:50 +0000	[thread overview]
Message-ID: <20101220110450.6824.92672.sendpatchset@t400s> (raw)

From: Magnus Damm <damm@opensource.se>

Use PAGE_OFFSET and PHYS_OFFSET for secondary_startup
entry point as recommended by Russell King.

Signed-off-by: Magnus Damm <damm@opensource.se>
---

 Tested on the AG5EVB board using the sh73a0 processor.

 Applies on top of the rmobile/smp topic branch in sh-2.6 git.

 arch/arm/mach-shmobile/headsmp.S |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

--- 0001/arch/arm/mach-shmobile/headsmp.S
+++ work/arch/arm/mach-shmobile/headsmp.S	2010-12-20 17:10:34.000000000 +0900
@@ -12,6 +12,7 @@
  */
 #include <linux/linkage.h>
 #include <linux/init.h>
+#include <asm/memory.h>
 
 	__INIT
 
@@ -23,4 +24,4 @@
 	.align  12
 ENTRY(shmobile_secondary_vector)
 	ldr     pc, 1f
-1:	.long   secondary_startup - CONFIG_PAGE_OFFSET + CONFIG_MEMORY_START
+1:	.long   secondary_startup - PAGE_OFFSET + PHYS_OFFSET

WARNING: multiple messages have this Message-ID (diff)
From: magnus.damm@gmail.com (Magnus Damm)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: mach-shmobile: Clean up headsmp.S
Date: Mon, 20 Dec 2010 20:04:50 +0900	[thread overview]
Message-ID: <20101220110450.6824.92672.sendpatchset@t400s> (raw)

From: Magnus Damm <damm@opensource.se>

Use PAGE_OFFSET and PHYS_OFFSET for secondary_startup
entry point as recommended by Russell King.

Signed-off-by: Magnus Damm <damm@opensource.se>
---

 Tested on the AG5EVB board using the sh73a0 processor.

 Applies on top of the rmobile/smp topic branch in sh-2.6 git.

 arch/arm/mach-shmobile/headsmp.S |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

--- 0001/arch/arm/mach-shmobile/headsmp.S
+++ work/arch/arm/mach-shmobile/headsmp.S	2010-12-20 17:10:34.000000000 +0900
@@ -12,6 +12,7 @@
  */
 #include <linux/linkage.h>
 #include <linux/init.h>
+#include <asm/memory.h>
 
 	__INIT
 
@@ -23,4 +24,4 @@
 	.align  12
 ENTRY(shmobile_secondary_vector)
 	ldr     pc, 1f
-1:	.long   secondary_startup - CONFIG_PAGE_OFFSET + CONFIG_MEMORY_START
+1:	.long   secondary_startup - PAGE_OFFSET + PHYS_OFFSET

             reply	other threads:[~2010-12-20 11:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-20 11:04 Magnus Damm [this message]
2010-12-20 11:04 ` [PATCH] ARM: mach-shmobile: Clean up headsmp.S Magnus Damm
2010-12-20 16:15 ` Paul Mundt
2010-12-20 16:15   ` Paul Mundt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101220110450.6824.92672.sendpatchset@t400s \
    --to=magnus.damm@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.