* [PATCH] ARM: mach-shmobile: Clean up headsmp.S
@ 2010-12-20 11:04 Magnus Damm
2010-12-20 16:15 ` Paul Mundt
0 siblings, 1 reply; 2+ messages in thread
From: Magnus Damm @ 2010-12-20 11:04 UTC (permalink / raw)
To: linux-arm-kernel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-12-20 16:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-20 11:04 [PATCH] ARM: mach-shmobile: Clean up headsmp.S Magnus Damm
2010-12-20 16:15 ` Paul Mundt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).