summaryrefslogtreecommitdiff
path: root/arch/arm/mach-ux500
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2011-05-06 12:56:27 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-05-23 16:53:17 +0100
commit4d5336d50a7b4992c90729c27dae027a3426c48c (patch)
treeaf35d47d3502db12bb7cf79e9d9aab21f9daf81c /arch/arm/mach-ux500
parent0f7b332f9777819a39a3b325690379a7efef89d1 (diff)
downloadlwn-4d5336d50a7b4992c90729c27dae027a3426c48c.tar.gz
lwn-4d5336d50a7b4992c90729c27dae027a3426c48c.zip
ARM: 6895/1: mach-ux500: fix SMP secondary startup regression
Commit e2a083dc0da9aa6437e14811198379b18cdfa7f8 "ARM: consolidate SMP cross call implementation" broke the ux500 compilation since the smp.h header declared a function called from headsmp.S. This fixes it up by declaring it locally instead. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-ux500')
-rw-r--r--arch/arm/mach-ux500/platsmp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/platsmp.c b/arch/arm/mach-ux500/platsmp.c
index 4e338466839e..0c527fe2cebb 100644
--- a/arch/arm/mach-ux500/platsmp.c
+++ b/arch/arm/mach-ux500/platsmp.c
@@ -23,6 +23,9 @@
#include <mach/hardware.h>
#include <mach/setup.h>
+/* This is called from headsmp.S to wakeup the secondary core */
+extern void u8500_secondary_startup(void);
+
/*
* control for which core is the next to come out of the secondary
* boot "holding pen"