ARM: mach-shmobile: Clean up headsmp.S
authorMagnus Damm <damm@opensource.se>
Mon, 20 Dec 2010 11:04:50 +0000 (11:04 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 20 Dec 2010 15:27:41 +0000 (00:27 +0900)
Use PAGE_OFFSET and PHYS_OFFSET for secondary_startup
entry point as recommended by Russell King.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/arm/mach-shmobile/headsmp.S

index a5c5af1e6bce28cd4e0ee0f9b1195d894d43f9c2..d4cec6b4c7d93cab2a22385efcae773f411bc018 100644 (file)
@@ -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