Skip to contentSkip to conversation

ARM: mach-shmobile: Clean up headsmp.S

PATCH New Magnus Damm 2 participants 2 messages Dec 20, 2010

Subsystems (4)
lore
Share & tools
lore

Magnus Damm

author maintainer
#0 lore raw

PATCH 1/1 ARM: mach-shmobile: Clean up headsmp.S

From: Magnus Damm <[email protected]>

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

---

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(-)
arch/arm/mach-shmobile/headsmp.S +2 -1
@@ -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
Applied
#1 lore raw

PATCH 1/1 ARM: mach-shmobile: Clean up headsmp.S

Quoted 5 lines · Magnus Damm

From: Magnus Damm <[email protected]>

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

Quoted 7 lines

---

Tested on the AG5EVB board using the sh73a0 processor.

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

Applied, thanks.