/* SPDX-License-Identifier: GPL-2.0 */1/*2* Cloned from linux/arch/arm/mach-realview/headsmp.S3*4* Copyright (c) 2003 ARM Limited5* All Rights Reserved6*/7#include <linux/linkage.h>8#include <linux/init.h>910#include <asm/assembler.h>1112/*13* exynos4 specific entry point for secondary CPUs. This provides14* a "holding pen" into which all secondary cores are held until we're15* ready for them to initialise.16*/17ENTRY(exynos4_secondary_startup)18ARM_BE8(setend be)19mrc p15, 0, r0, c0, c0, 520and r0, r0, #1521adr r4, 1f22ldmia r4, {r5, r6}23sub r4, r4, r524add r6, r6, r425pen: ldr r7, [r6]26cmp r7, r027bne pen2829/*30* we've been released from the holding pen: secondary_stack31* should now contain the SVC stack for this core32*/33b secondary_startup34ENDPROC(exynos4_secondary_startup)3536.align 2371: .long .38.long exynos_pen_release394041