提交 6155f77d 编写于 作者: M Magnus Damm 提交者: Paul Mundt

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: NMagnus Damm <damm@opensource.se>
Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
上级 72f4d579
......@@ -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
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册