[PATCH 01/03] ARM: mach-shmobile: SMP base support
Russell King - ARM Linux
linux at arm.linux.org.uk
Fri Dec 17 03:42:11 EST 2010
On Tue, Dec 14, 2010 at 04:56:55PM +0900, Magnus Damm wrote:
> +/*
> + * Reset vector for secondary CPUs.
> + * This will be mapped at address 0 by SBAR register.
> + * We need _long_ jump to the physical address.
> + */
> + .align 12
> +ENTRY(shmobile_secondary_vector)
> + ldr pc, 1f
> +1: .long secondary_startup - CONFIG_PAGE_OFFSET + CONFIG_MEMORY_START
BTW, why not use - PAGE_OFFSET + PHYS_OFFSET here? Both these macros
are available for use in assembly code - just include asm/memory.h.
More information about the linux-arm-kernel
mailing list