1/*
2 *  linux/arch/arm/mach-ox820/headsmp.S
3 *
4 *  Copyright (c) 2003 ARM Limited
5 *  All Rights Reserved
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10 */
11#include <linux/linkage.h>
12#include <linux/init.h>
13
14	__INIT
15
16/*
17 * OX820 specific entry point for secondary CPUs.
18 */
19ENTRY(ox820_secondary_startup)
20	mov r4, #0
21	/* invalidate both caches and branch target cache */
22	mcr p15, 0, r4, c7, c7, 0
23	/*
24	 * we've been released from the holding pen: secondary_stack
25	 * should now contain the SVC stack for this core
26	 */
27	b	secondary_startup
28