]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blame - arch/arm/mach-oxnas/headsmp.S
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500
[mirror_ubuntu-hirsute-kernel.git] / arch / arm / mach-oxnas / headsmp.S
CommitLineData
d2912cb1 1/* SPDX-License-Identifier: GPL-2.0-only */
af76e806
NA
2/*
3 * Copyright (C) 2013 Ma Haijun <mahaijuns@gmail.com>
4 * Copyright (c) 2003 ARM Limited
5 * All Rights Reserved
af76e806
NA
6 */
7#include <linux/linkage.h>
8#include <linux/init.h>
9
10 __INIT
11
12/*
13 * OX820 specific entry point for secondary CPUs.
14 */
15ENTRY(ox820_secondary_startup)
16 mov r4, #0
17 /* invalidate both caches and branch target cache */
18 mcr p15, 0, r4, c7, c7, 0
19 /*
20 * we've been released from the holding pen: secondary_stack
21 * should now contain the SVC stack for this core
22 */
23 b secondary_startup