From 716ca530e1c4515d8683c9d5be3d56b301758b66 Mon Sep 17 00:00:00 2001 From: James <> Date: Wed, 4 Nov 2015 11:49:21 +0000 Subject: trunk-47381 --- .../oxnas/files/arch/arm/mach-oxnas/headsmp.S | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 target/linux/oxnas/files/arch/arm/mach-oxnas/headsmp.S (limited to 'target/linux/oxnas/files/arch/arm/mach-oxnas/headsmp.S') diff --git a/target/linux/oxnas/files/arch/arm/mach-oxnas/headsmp.S b/target/linux/oxnas/files/arch/arm/mach-oxnas/headsmp.S new file mode 100644 index 0000000..a63edae --- /dev/null +++ b/target/linux/oxnas/files/arch/arm/mach-oxnas/headsmp.S @@ -0,0 +1,27 @@ +/* + * linux/arch/arm/mach-ox820/headsmp.S + * + * Copyright (c) 2003 ARM Limited + * All Rights Reserved + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ +#include +#include + + __INIT + +/* + * OX820 specific entry point for secondary CPUs. + */ +ENTRY(ox820_secondary_startup) + mov r4, #0 + /* invalidate both caches and branch target cache */ + mcr p15, 0, r4, c7, c7, 0 + /* + * we've been released from the holding pen: secondary_stack + * should now contain the SVC stack for this core + */ + b secondary_startup -- cgit v1.2.3