/*1* linux/arch/arm/mach-exynos4/headsmp.S2*3* Cloned from linux/arch/arm/mach-realview/headsmp.S4*5* Copyright (c) 2003 ARM Limited6* All Rights Reserved7*8* This program is free software; you can redistribute it and/or modify9* it under the terms of the GNU General Public License version 2 as10* published by the Free Software Foundation.11*/12#include <linux/linkage.h>13#include <linux/init.h>1415__CPUINIT1617/*18* exynos4 specific entry point for secondary CPUs. This provides19* a "holding pen" into which all secondary cores are held until we're20* ready for them to initialise.21*/22ENTRY(exynos4_secondary_startup)23mrc p15, 0, r0, c0, c0, 524and r0, r0, #1525adr r4, 1f26ldmia r4, {r5, r6}27sub r4, r4, r528add r6, r6, r429pen: ldr r7, [r6]30cmp r7, r031bne pen3233/*34* we've been released from the holding pen: secondary_stack35* should now contain the SVC stack for this core36*/37b secondary_startup38391: .long .40.long pen_release414243