From: Magnus Damm Date: Mon, 20 Dec 2010 11:04:50 +0000 (+0000) Subject: ARM: mach-shmobile: Clean up headsmp.S X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6155f77d09b968f591876f368d4843168910449e;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git 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 Signed-off-by: Paul Mundt --- diff --git a/arch/arm/mach-shmobile/headsmp.S b/arch/arm/mach-shmobile/headsmp.S index a5c5af1e6bc..d4cec6b4c7d 100644 --- a/arch/arm/mach-shmobile/headsmp.S +++ b/arch/arm/mach-shmobile/headsmp.S @@ -12,6 +12,7 @@ */ #include #include +#include __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