Skip to content

Commit

Permalink
ARM: mach-shmobile: Clean up headsmp.S
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Magnus Damm authored and Paul Mundt committed Dec 20, 2010
1 parent 72f4d57 commit 6155f77
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/arm/mach-shmobile/headsmp.S
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
*/
#include <linux/linkage.h>
#include <linux/init.h>
#include <asm/memory.h>

__INIT

Expand All @@ -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

0 comments on commit 6155f77

Please sign in to comment.