diff options
author | Magnus Damm <damm@opensource.se> | 2010-12-20 06:04:50 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-12-20 10:27:41 -0500 |
commit | 6155f77d09b968f591876f368d4843168910449e (patch) | |
tree | 4b81ed87a25dd28646a2143eccd7bd9a6516bb16 /arch/arm/mach-shmobile | |
parent | 72f4d57923d2aa651db060a71a6f6211654c119e (diff) |
ARM: mach-shmobile: Clean up headsmp.S
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>
Diffstat (limited to 'arch/arm/mach-shmobile')
-rw-r--r-- | arch/arm/mach-shmobile/headsmp.S | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-shmobile/headsmp.S b/arch/arm/mach-shmobile/headsmp.S index a5c5af1e6bce..d4cec6b4c7d9 100644 --- a/arch/arm/mach-shmobile/headsmp.S +++ b/arch/arm/mach-shmobile/headsmp.S | |||
@@ -12,6 +12,7 @@ | |||
12 | */ | 12 | */ |
13 | #include <linux/linkage.h> | 13 | #include <linux/linkage.h> |
14 | #include <linux/init.h> | 14 | #include <linux/init.h> |
15 | #include <asm/memory.h> | ||
15 | 16 | ||
16 | __INIT | 17 | __INIT |
17 | 18 | ||
@@ -23,4 +24,4 @@ | |||
23 | .align 12 | 24 | .align 12 |
24 | ENTRY(shmobile_secondary_vector) | 25 | ENTRY(shmobile_secondary_vector) |
25 | ldr pc, 1f | 26 | ldr pc, 1f |
26 | 1: .long secondary_startup - CONFIG_PAGE_OFFSET + CONFIG_MEMORY_START | 27 | 1: .long secondary_startup - PAGE_OFFSET + PHYS_OFFSET |